Skip to content
This repository was archived by the owner on Apr 25, 2023. It is now read-only.

Commit 67ee43d

Browse files
Bot Updating Templated Files
1 parent 77bccb5 commit 67ee43d

1 file changed

Lines changed: 8 additions & 3 deletions

File tree

Jenkinsfile

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -366,7 +366,9 @@ pipeline {
366366
// Build Docker container for push to LS Repo
367367
stage('Build-Single') {
368368
when {
369-
environment name: 'MULTIARCH', value: 'false'
369+
expression {
370+
env.MULTIARCH == 'false' || params.PACKAGE_CHECK == 'true'
371+
}
370372
environment name: 'EXIT_STATUS', value: ''
371373
}
372374
steps {
@@ -391,7 +393,10 @@ pipeline {
391393
// Build MultiArch Docker containers for push to LS Repo
392394
stage('Build-Multi') {
393395
when {
394-
environment name: 'MULTIARCH', value: 'true'
396+
allOf {
397+
environment name: 'MULTIARCH', value: 'true'
398+
expression { params.PACKAGE_CHECK == 'false' }
399+
}
395400
environment name: 'EXIT_STATUS', value: ''
396401
}
397402
parallel {
@@ -496,7 +501,7 @@ pipeline {
496501
sh '''#! /bin/bash
497502
set -e
498503
TEMPDIR=$(mktemp -d)
499-
if [ "${MULTIARCH}" == "true" ]; then
504+
if [ "${MULTIARCH}" == "true" ] && [ "${PACKAGE_CHECK}" == "false" ]; then
500505
LOCAL_CONTAINER=${IMAGE}:amd64-${META_TAG}
501506
else
502507
LOCAL_CONTAINER=${IMAGE}:${META_TAG}

0 commit comments

Comments
 (0)