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') {
steps{
echo "Branch name: ${env.BRANCH_NAME}"
}
when {
branch 'master'
}
steps {
echo "Merge to master"
sh 'git pull'
echo "Branch name: ${env.BRANCH_NAME}"
sh './mvnw deploy'
}
}
}