mirror of
https://github.com/certbot/certbot.git
synced 2026-06-06 23:32:06 -04:00
Use a more consistent variable for calculating source branch
This commit is contained in:
parent
ed331d16ab
commit
0d7f1217c1
1 changed files with 1 additions and 1 deletions
|
|
@ -41,7 +41,7 @@ steps:
|
|||
ln -s $(testFarmPem.secureFilePath) tests/letstest/test-farm.pem
|
||||
condition: contains(variables['TOXENV'], 'test-farm')
|
||||
- bash: |
|
||||
export TARGET_BRANCH="${BUILD_SOURCEBRANCHNAME}"
|
||||
export TARGET_BRANCH="${BUILD_SOURCEBRANCH/refs\/(heads|tags)\//}"
|
||||
[ -z "${SYSTEM_PULLREQUEST_TARGETBRANCH}" ] || export TARGET_BRANCH="${SYSTEM_PULLREQUEST_TARGETBRANCH}"
|
||||
env
|
||||
if [[ "${TOXENV}" == *"oldest"* ]]; then
|
||||
|
|
|
|||
Loading…
Reference in a new issue