mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-22 15:25:49 +00:00
Update Jenkinsfile
This commit is contained in:
parent
89e11b156d
commit
ce94f699c9
1 changed files with 9 additions and 1 deletions
10
Jenkinsfile
vendored
10
Jenkinsfile
vendored
|
@ -4,7 +4,7 @@ pipeline {
|
|||
stages {
|
||||
stage('Build') {
|
||||
steps {
|
||||
slackSend (color: '#FFFF00', message: "STARTED: Job '${env.JOB_NAME} [${env.BUILD_NUMBER}]' (${env.BUILD_URL})")
|
||||
slackSend (color: '#FFFF00', message: "STARTED: Build '${env.JOB_NAME} [${env.BUILD_NUMBER}]' (${env.BUILD_URL})")
|
||||
sh './mvnw clean'
|
||||
}
|
||||
}
|
||||
|
@ -27,4 +27,12 @@ pipeline {
|
|||
}
|
||||
}
|
||||
}
|
||||
post {
|
||||
success {
|
||||
slackSend (color: '#00FF00', message: "SUCCESSFUL: Build '${env.JOB_NAME} [${env.BUILD_NUMBER}]' (${env.BUILD_URL})")
|
||||
}
|
||||
failure {
|
||||
slackSend (color: '#FF0000', message: "FAILED: Build '${env.JOB_NAME} [${env.BUILD_NUMBER}]' (${env.BUILD_URL})")
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue