Skip to content

Commit 8b3f784

Browse files
Bot Updating Templated Files
1 parent 6a47994 commit 8b3f784

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

Jenkinsfile

+7-2
Original file line numberDiff line numberDiff line change
@@ -373,7 +373,9 @@ pipeline {
373373
// Build Docker container for push to LS Repo
374374
stage('Build-Single') {
375375
when {
376-
environment name: 'MULTIARCH', value: 'false'
376+
expression {
377+
env.MULTIARCH == 'false' || params.PACKAGE_CHECK == 'true'
378+
}
377379
environment name: 'EXIT_STATUS', value: ''
378380
}
379381
steps {
@@ -398,7 +400,10 @@ pipeline {
398400
// Build MultiArch Docker containers for push to LS Repo
399401
stage('Build-Multi') {
400402
when {
401-
environment name: 'MULTIARCH', value: 'true'
403+
allOf {
404+
environment name: 'MULTIARCH', value: 'true'
405+
expression { params.PACKAGE_CHECK == 'false' }
406+
}
402407
environment name: 'EXIT_STATUS', value: ''
403408
}
404409
parallel {

0 commit comments

Comments
 (0)