Skip to content
This repository was archived by the owner on Jun 30, 2022. It is now read-only.

Commit 90b0424

Browse files
Bot Updating Templated Files
1 parent 654d1a4 commit 90b0424

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

Jenkinsfile

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff 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 {
@@ -484,7 +489,7 @@ pipeline {
484489
sh '''#! /bin/bash
485490
set -e
486491
TEMPDIR=$(mktemp -d)
487-
if [ "${MULTIARCH}" == "true" ]; then
492+
if [ "${MULTIARCH}" == "true" ] && [ "${PACKAGE_CHECK}" == "false" ]; then
488493
LOCAL_CONTAINER=${IMAGE}:amd64-${META_TAG}
489494
else
490495
LOCAL_CONTAINER=${IMAGE}:${META_TAG}

0 commit comments

Comments
 (0)