From d19e63a4472e2aca409cb156ac321432775e69fc Mon Sep 17 00:00:00 2001 From: LinuxServer-CI Date: Thu, 26 Aug 2021 07:15:49 +0200 Subject: [PATCH] Bot Updating Templated Files --- Jenkinsfile | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 3658b74..7dc51fd 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -375,7 +375,9 @@ pipeline { // Build Docker container for push to LS Repo stage('Build-Single') { when { - environment name: 'MULTIARCH', value: 'false' + expression { + env.MULTIARCH == 'false' || params.PACKAGE_CHECK == 'true' + } environment name: 'EXIT_STATUS', value: '' } steps { @@ -400,7 +402,10 @@ pipeline { // Build MultiArch Docker containers for push to LS Repo stage('Build-Multi') { when { - environment name: 'MULTIARCH', value: 'true' + allOf { + environment name: 'MULTIARCH', value: 'true' + expression { params.PACKAGE_CHECK == 'false' } + } environment name: 'EXIT_STATUS', value: '' } parallel {