mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-22 07:15:49 +00:00
Update Jenkinsfile
This commit is contained in:
parent
3cb1d6b3e8
commit
288c42c328
1 changed files with 3 additions and 2 deletions
5
Jenkinsfile
vendored
5
Jenkinsfile
vendored
|
@ -17,6 +17,7 @@ pipeline {
|
||||||
stage('Package') {
|
stage('Package') {
|
||||||
steps {
|
steps {
|
||||||
sh 'mvn package'
|
sh 'mvn package'
|
||||||
|
slackSend channel: 'soen345', color: 'green', message: 'Success', tokenCredentialId: '178d0505-1fe0-4dee-aaa9-097c8a75a121'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -30,8 +31,8 @@ pipeline {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
post{
|
post{
|
||||||
success{
|
Success{
|
||||||
slackSend(color: '#00FF00' ,message: "SUCCESSFUL: Job '${env.JOB_NAME} [${env.BUILD_NUMBER}]' (${env.BUILD_URL})")
|
slackSend channel: 'soen345', color: 'green', message: 'Success', tokenCredentialId: '178d0505-1fe0-4dee-aaa9-097c8a75a121'
|
||||||
}
|
}
|
||||||
|
|
||||||
failure{
|
failure{
|
||||||
|
|
Loading…
Reference in a new issue