mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-21 14:55:51 +00:00
Update Jenkinsfile
This commit is contained in:
parent
4365924bfe
commit
db315d5f07
1 changed files with 13 additions and 1 deletions
14
Jenkinsfile
vendored
14
Jenkinsfile
vendored
|
@ -18,8 +18,20 @@ pipeline {
|
|||
}
|
||||
stage('Deploy') {
|
||||
steps {
|
||||
bat './mvnw release'
|
||||
bat './mvnw deploy:deploy-file'
|
||||
}
|
||||
}
|
||||
}
|
||||
post {
|
||||
success {
|
||||
mail to: 'mnezam.31@gmail.com',
|
||||
subject: "Successful Pipeline: ${currentBuild.fullDisplayName}",
|
||||
body: "Your tests worked accordingly!"
|
||||
}
|
||||
failure {
|
||||
mail to: 'mnezam.31@gmail.com',
|
||||
subject: "Failed Pipeline: ${currentBuild.fullDisplayName}",
|
||||
body: "Something is wrong with ${env.BUILD_URL}"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue