Skip to content

Commit 243b659

Browse files
committed
jobs/build: use parallel to start build-arch jobs
Prep for next patch.
1 parent 973bcf9 commit 243b659

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

jobs/build.Jenkinsfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -503,7 +503,7 @@ def archive_ostree(version, basearch, s3_stream_dir) {
503503

504504
def run_multiarch_jobs(arches, src_commit, version, cosa_img) {
505505
stage('Fork Multi-Arch Builds') {
506-
for (arch in arches) {
506+
parallel arches.collectEntries{arch -> [arch, {
507507
// We pass in FORCE=true here since if we got this far we know
508508
// we want to do a build even if the code tells us that there
509509
// are no apparent changes since the previous commit.
@@ -518,7 +518,7 @@ def run_multiarch_jobs(arches, src_commit, version, cosa_img) {
518518
string(name: 'PIPECFG_HOTFIX_REPO', value: params.PIPECFG_HOTFIX_REPO),
519519
string(name: 'PIPECFG_HOTFIX_REF', value: params.PIPECFG_HOTFIX_REF)
520520
]
521-
}
521+
}]}
522522
}
523523
}
524524

0 commit comments

Comments
 (0)