From 07af6a0ca7edb1dcee7649301126a648a255fde4 Mon Sep 17 00:00:00 2001 From: LinuxServer-CI Date: Thu, 26 Aug 2021 11:23:45 +0200 Subject: [PATCH] Bot Updating Templated Files --- Jenkinsfile | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index ebc153c..d0a7099 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -373,7 +373,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 { @@ -398,7 +400,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 {