Fix?
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user