mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-22 07:15:49 +00:00
add email notification
This commit is contained in:
parent
85803b1dac
commit
fff622deff
1 changed files with 3 additions and 2 deletions
5
Jenkinsfile
vendored
5
Jenkinsfile
vendored
|
@ -20,11 +20,11 @@ pipeline {
|
|||
}
|
||||
stage('Deploy') {
|
||||
when {
|
||||
branch 'production'
|
||||
branch 'master'
|
||||
}
|
||||
steps {
|
||||
echo "DEPLOY!"
|
||||
/* sh './mvnw deploy' */
|
||||
// sh './mvnw deploy'
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -35,6 +35,7 @@ pipeline {
|
|||
}
|
||||
success {
|
||||
echo 'I succeeeded!'
|
||||
mail to: m.augier@me.com, subject: 'Build succeeded: $(JOB_NAME)'
|
||||
}
|
||||
unstable {
|
||||
echo 'I am unstable :/'
|
||||
|
|
Loading…
Reference in a new issue