Created
March 14, 2017 16:39
-
-
Save directhex/e0db19e729063cc90947583ed82c0000 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def CONFIGURATIONS = ["debian-8-arm64","debian-8-armel","debian-8-armhf","ubuntu-1404-amd64","ubuntu-1404-i386" ] | |
def builders = [:] | |
for (x in CONFIGURATIONS) { | |
def label = x // Need to bind the label variable before the closure - can't do 'for (label in labels)' | |
builders[label] = { | |
stage("test on ${label}") { | |
node(label) { | |
git credentialsId: '56f5f1ca-b5a7-41b5-8318-c84dd4364e72', url: 'git@github.com:mono/mono.git' | |
chroot additionalPackages: 'mono-devel git python wget bc build-essential libtool autoconf automake gettext iputils-ping gdb cmake lsof', chrootName: "${label}-mono48", command: 'scripts/ci/run-jenkins.sh' | |
} | |
} | |
} | |
} | |
timestamps { | |
parallel builders | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment