mirror of
https://github.com/saymrwulf/cryptography.git
synced 2026-05-14 20:37:55 +00:00
do downstream builds as part of our normal parallel jenkins pipeline (#3948)
* do downstream builds as part of our normal parallel jenkins pipeline * empty
This commit is contained in:
parent
fce63a57b4
commit
3d96afd798
1 changed files with 3 additions and 7 deletions
10
Jenkinsfile
vendored
10
Jenkinsfile
vendored
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue