summaryrefslogtreecommitdiff
path: root/vars
diff options
context:
space:
mode:
Diffstat (limited to 'vars')
-rw-r--r--vars/buildPackage.groovy2
1 files changed, 1 insertions, 1 deletions
diff --git a/vars/buildPackage.groovy b/vars/buildPackage.groovy
index 7dc3fe52..53342ac9 100644
--- a/vars/buildPackage.groovy
+++ b/vars/buildPackage.groovy
@@ -36,7 +36,7 @@ def call(description=null, pkgList=null, buildCmd=null, buildArm=false) {
def branchName = getGitBranchName()
// Adjust PR target branch name so we can re-map it to the proper Docker image.
if (isPullRequest())
- branchName = '${env.CHANGE_TARGET}'.toLowerCase()
+ branchName = env.CHANGE_TARGET.toLowerCase()
if (branchName.equals('master'))
branchName = 'current'