fix: remove env from Jenkinsfile vars

This commit is contained in:
Stefan Reimer 2022-01-16 12:04:33 +01:00
parent 72b5c36043
commit e3b21a7703

2
Jenkinsfile vendored
View File

@ -4,7 +4,7 @@ pipeline {
stage('Prepare'){
steps {
// get tags
sh 'git fetch --tags ${env.GIT_URL} +refs/heads/${env.BRANCH_NAME}:refs/remotes/origin/${env.BRANCH_NAME}'
sh 'git fetch --tags ${GIT_URL} +refs/heads/${BRANCH_NAME}:refs/remotes/origin/${BRANCH_NAME}'
}
}