mirror of https://github.com/apache/maven.git
fix Jenkinsfile as it is script
This commit is contained in:
parent
660e745d85
commit
8524e04e66
|
@ -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') {
|
||||
|
|
Loading…
Reference in New Issue