From 02e88616b7d31cc750fb3f8f4f4a770441b498e5 Mon Sep 17 00:00:00 2001 From: Bram Prieshof Date: Sun, 21 Feb 2021 03:13:23 +0100 Subject: [PATCH] Fix? --- Jenkinsfile-Squential | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Jenkinsfile-Squential b/Jenkinsfile-Squential index a080b2f..1d841d4 100644 --- a/Jenkinsfile-Squential +++ b/Jenkinsfile-Squential @@ -29,17 +29,17 @@ pipeline { script{ for(ImgRelease in ImgReleaseList){ for(ImgVariant in ImgVariantList){ - if (BuildDefault == 'true' && (ImgVariant).startsWith('Default-')) { + if (env.BuildDefault == 'true' && (ImgVariant).startsWith('Default-')) { echo 'Building Default' BuildThisLocal = true - } else if (BuildExtra == 'true' && (ImgVariant).startsWith('Extra-')) { - BuildThisLocal = true + } else if (env.BuildExtra == 'true' && (ImgVariant).startsWith('Extra-')) { + BuildThis = true echo 'Building Extra' } else { - BuildThisLocal = false + BuildThis = false echo 'not building' } - if (BuildThisLocal == 'true') { + if (BuildThis == 'true') { stage('Build image') { steps { // Build script