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