File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff 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 {
You can’t perform that action at this time.
0 commit comments