Improve Jenkinsfile

This commit is contained in:
Marlon Beijer 2022-01-02 00:46:12 +01:00
parent e59a95efb1
commit 21e9aff19d
1 changed files with 1 additions and 1 deletions

2
Jenkinsfile vendored
View File

@ -104,7 +104,7 @@ node('master') {
} else {
echo("Building: ${BUILD_IMAGE}");
project.builds.each { v ->
if (v.DockerTag.equals("${BUILD_IMAGE}")) {
if ("${v.DockerTag}".equals("${BUILD_IMAGE}")) {
branches["Build ${v.DockerRoot}/${v.DockerImage}:${v.DockerTag}"] = {
node {
buildStep(v.DockerRoot, v.DockerImage, v.DockerTag, v.Dockerfile, v.BuildIfSuccessful)