Skip to content

Commit

Permalink
fix Jenkinsfile as it is script
Browse files Browse the repository at this point in the history
  • Loading branch information
olamy authored May 29, 2019
1 parent 660e745 commit 8524e04
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -41,10 +41,9 @@ node(jenkinsEnv.nodeSelection(osNode)) {
def MAVEN_GOAL='verify'

stage('Configure deploy') {
when {
branch 'master'
if (env.BRANCH=='master'){
MAVEN_GOAL='deploy -DdeployAtEnd=true'
}
MAVEN_GOAL='deploy -DdeployAtEnd=true'
}

stage('Build / Unit Test') {
Expand Down

0 comments on commit 8524e04

Please sign in to comment.