oops fix branch name

This commit is contained in:
Olivier Lamy 2019-05-29 14:34:45 +10:00 committed by GitHub
parent 8524e04e66
commit a117168395
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

2
Jenkinsfile vendored
View File

@ -41,7 +41,7 @@ node(jenkinsEnv.nodeSelection(osNode)) {
def MAVEN_GOAL='verify'
stage('Configure deploy') {
if (env.BRANCH=='master'){
if (env.BRANCH_NAME == 'master'){
MAVEN_GOAL='deploy -DdeployAtEnd=true'
}
}