deploy stage modif

This commit is contained in:
Daphne Augier 2020-04-11 17:07:01 +02:00 committed by GitHub
parent 4548820897
commit e852f854c6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

11
Jenkinsfile vendored
View file

@ -18,13 +18,16 @@ pipeline {
sh './mvnw package'
}
}
if( env.BRANCH_NAME == 'master' ) {
stage('Deploy') {
steps {
sh './mvnw deploy'
when {
expression {
currentBuild.result == null || currentBuild.result == 'SUCCESS'
}
}
steps {
echo "DEPLOY!"
/* sh './mvnw deploy' */
}
}
}
post {