Skip to content

Commit 8b7aaf1

Browse files
Bot Updating Templated Files
1 parent 601798f commit 8b7aaf1

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
@@ -375,7 +375,9 @@ pipeline {
375375
// Build Docker container for push to LS Repo
376376
stage('Build-Single') {
377377
when {
378-
environment name: 'MULTIARCH', value: 'false'
378+
expression {
379+
env.MULTIARCH == 'false' || params.PACKAGE_CHECK == 'true'
380+
}
379381
environment name: 'EXIT_STATUS', value: ''
380382
}
381383
steps {
@@ -400,7 +402,10 @@ pipeline {
400402
// Build MultiArch Docker containers for push to LS Repo
401403
stage('Build-Multi') {
402404
when {
403-
environment name: 'MULTIARCH', value: 'true'
405+
allOf {
406+
environment name: 'MULTIARCH', value: 'true'
407+
expression { params.PACKAGE_CHECK == 'false' }
408+
}
404409
environment name: 'EXIT_STATUS', value: ''
405410
}
406411
parallel {

0 commit comments

Comments
 (0)