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