Skip to content

Instantly share code, notes, and snippets.

View Jenkinsfile-parallel.groovy
def test_devices = [ "minnowboardturbot", "minnowboardmax" ]
stage "prepare"
def test_runs = [:]
for (int i=0; i < test_devices.size(); i++) {
def test_device = test_devices[i]
test_runs["test_${test_device}"] = {
node() {
echo "testing"
withEnv(["TEST_DEVICE=${test_device}"]) {
kad / JENKINS-28447.workaround.groovy
Last active Jul 30, 2019
workaround for JENKINS-28447 in case of github trigger plugin.
View JENKINS-28447.workaround.groovy
// Reconfigure job to have Pipeline DSL configured inside job, instead of from scm.
// Put snippet below to pipeline text box
// Define additional job parameters:
// GITHUB_PROJECT: string, URL to your GitHub repository
// GITHUB_AUTH: string, credentials ID to use in case of private GitHub repository
node {
dir('pipeline_handover') {
checkout([$class: 'GitSCM',
branches: [[name: "origin-pull/$GITHUB_PR_NUMBER/$GITHUB_PR_COND_REF"]],
doGenerateSubmoduleConfigurations: false,
kad / distro-scripts.diff
Created May 20, 2016
POC: allow distro to ship own set of scripts
View distro-scripts.diff
diff --git a/scripts/oe-buildenv-internal b/scripts/oe-buildenv-internal
index 81ee784..e68977b 100755
--- a/scripts/oe-buildenv-internal
+++ b/scripts/oe-buildenv-internal
@@ -96,15 +96,24 @@ if [ ! -d "$BITBAKEDIR" ]; then
return 1
+# For PATH setting, also check if distro defines own set of scripts
+if [ -f "$BUILDDIR/conf/templateconf.cfg" ]; then
You can’t perform that action at this time.