diff --git a/Jenkinsfile b/Jenkinsfile index b267b81ac..2a9bcf6dd 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -21,7 +21,7 @@ pipeline { } stage('Deploy') { - when{expression{(end.BRANCH_NAME == 'master')}} + when{expression{(env.BRANCH_NAME == 'master')}} { steps { sh 'mvn deploy'