mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-21 14:55:51 +00:00
commit
2f1a7a7806
1 changed files with 17 additions and 2 deletions
19
Jenkinsfile
vendored
19
Jenkinsfile
vendored
|
@ -12,10 +12,12 @@ pipeline {
|
|||
sh 'mvn test'
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
stage('Package') {
|
||||
steps {
|
||||
sh 'mvn package'
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -29,6 +31,19 @@ pipeline {
|
|||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
post{
|
||||
success{
|
||||
slackSend channel: 'soen345', message: 'Success', tokenCredentialId: '178d0505-1fe0-4dee-aaa9-097c8a75a121'
|
||||
}
|
||||
|
||||
failure{
|
||||
slackSend channel: 'soen345', message: 'Failed', tokenCredentialId: '178d0505-1fe0-4dee-aaa9-097c8a75a121'
|
||||
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue