aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul Kehrer <paul.l.kehrer@gmail.com>2017-10-04 10:53:18 +0800
committerAlex Gaynor <alex.gaynor@gmail.com>2017-10-03 22:53:18 -0400
commit3d96afd798ece830fcfdf48776dae48acbc5157d (patch)
treeb68a528409ead788a2195136c5f197fabfc94407
parentfce63a57b42593250e883a212250b1f5317503cf (diff)
downloadcryptography-3d96afd798ece830fcfdf48776dae48acbc5157d.tar.gz
cryptography-3d96afd798ece830fcfdf48776dae48acbc5157d.tar.bz2
cryptography-3d96afd798ece830fcfdf48776dae48acbc5157d.zip
do downstream builds as part of our normal parallel jenkins pipeline (#3948)
* do downstream builds as part of our normal parallel jenkins pipeline * empty
-rw-r--r--Jenkinsfile10
1 files changed, 3 insertions, 7 deletions
diff --git a/Jenkinsfile b/Jenkinsfile
index 92b0c7e7..bac0067a 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -363,15 +363,12 @@ builders["setup.py-test"] = {
}
}
-parallel builders
-
-def downstreamBuilders = [:]
for (downstream in downstreams) {
def downstreamName = downstream["downstreamName"]
def imageName = downstream["imageName"]
def label = downstream["label"]
def script = downstream["script"]
- downstreamBuilders[downstreamName] = {
+ builders[downstreamName] = {
node(label) {
docker.image(imageName).inside {
try {
@@ -387,6 +384,5 @@ for (downstream in downstreams) {
}
}
-stage("Downstreams") {
- parallel downstreamBuilders
-}
+parallel builders
+