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 @@ -379,7 +379,9 @@ pipeline {
379
379
// Build Docker container for push to LS Repo
380
380
stage(' Build-Single' ) {
381
381
when {
382
- environment name : ' MULTIARCH' , value : ' false'
382
+ expression {
383
+ env. MULTIARCH == ' false' || params. PACKAGE_CHECK == ' true'
384
+ }
383
385
environment name : ' EXIT_STATUS' , value : ' '
384
386
}
385
387
steps {
@@ -404,7 +406,10 @@ pipeline {
404
406
// Build MultiArch Docker containers for push to LS Repo
405
407
stage(' Build-Multi' ) {
406
408
when {
407
- environment name : ' MULTIARCH' , value : ' true'
409
+ allOf {
410
+ environment name : ' MULTIARCH' , value : ' true'
411
+ expression { params. PACKAGE_CHECK == ' false' }
412
+ }
408
413
environment name : ' EXIT_STATUS' , value : ' '
409
414
}
410
415
parallel {
You can’t perform that action at this time.
0 commit comments