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 @@ -354,7 +354,9 @@ pipeline {
354354 // Build Docker container for push to LS Repo
355355 stage(' Build-Single' ) {
356356 when {
357- environment name : ' MULTIARCH' , value : ' false'
357+ expression {
358+ env. MULTIARCH == ' false' || params. PACKAGE_CHECK == ' true'
359+ }
358360 environment name : ' EXIT_STATUS' , value : ' '
359361 }
360362 steps {
@@ -379,7 +381,10 @@ pipeline {
379381 // Build MultiArch Docker containers for push to LS Repo
380382 stage(' Build-Multi' ) {
381383 when {
382- environment name : ' MULTIARCH' , value : ' true'
384+ allOf {
385+ environment name : ' MULTIARCH' , value : ' true'
386+ expression { params. PACKAGE_CHECK == ' false' }
387+ }
383388 environment name : ' EXIT_STATUS' , value : ' '
384389 }
385390 parallel {
You can’t perform that action at this time.
0 commit comments