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
9ec93888c6
commit
48cdddca94
1 changed files with 16 additions and 2 deletions
18
Jenkinsfile
vendored
18
Jenkinsfile
vendored
|
@ -6,10 +6,24 @@ pipeline {
|
|||
bat './mvnw compile'
|
||||
}
|
||||
}
|
||||
|
||||
stage('Test') {
|
||||
steps {
|
||||
bat './mvnw test'
|
||||
}
|
||||
}
|
||||
stage('Package') {
|
||||
steps {
|
||||
bat './mvnw package'
|
||||
}
|
||||
}
|
||||
stage('Deploy') {
|
||||
steps {
|
||||
echo 'Deployed Successfully'
|
||||
}
|
||||
}
|
||||
}
|
||||
post {
|
||||
success {
|
||||
always {
|
||||
emailext body: 'A Test EMail',
|
||||
recipientProviders: [[$class: 'DevelopersRecipientProvider'],
|
||||
[$class: 'RequesterRecipientProvider']],
|
||||
|
|
Loading…
Reference in a new issue