diff options
author | Christian Poessinger <christian@poessinger.com> | 2021-02-20 21:53:48 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-02-20 21:53:48 +0100 |
commit | 1de3f19a2856d13b182962fe9eef5f655f6e75a5 (patch) | |
tree | a6d26fc57daf52a5f43e87dd209664ff000cafed /vars/buildPackage.groovy | |
parent | 74af0d96881efb0755b00ce080b9930ddd75a2d1 (diff) | |
download | vyos-build-1de3f19a2856d13b182962fe9eef5f655f6e75a5.tar.gz vyos-build-1de3f19a2856d13b182962fe9eef5f655f6e75a5.zip |
Jenkins: lib: fix "Bad substitution" error on GitHub PR builds
Diffstat (limited to 'vars/buildPackage.groovy')
-rw-r--r-- | vars/buildPackage.groovy | 2 |
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' |