This commit is contained in:
Daphné Augier 2020-04-11 23:44:08 +02:00
parent f7792b2de2
commit caa537f81e

7
Jenkinsfile vendored
View file

@ -20,15 +20,12 @@ pipeline {
} }
} }
stage('Deploy') { stage('Deploy') {
steps{
echo "Branch name: ${env.BRANCH_NAME}"
}
when { when {
branch 'master' branch 'master'
} }
steps { steps {
echo "Merge to master" echo "Branch name: ${env.BRANCH_NAME}"
sh 'git pull' sh './mvnw deploy'
} }
} }
} }