mirror of
https://github.com/Combodo/iTop.git
synced 2026-02-13 07:24:13 +01:00
jenkins: slack notif on build fixed
This commit is contained in:
3
Jenkinsfile
vendored
3
Jenkinsfile
vendored
@@ -51,6 +51,9 @@ pipeline {
|
||||
failure {
|
||||
slackSend(channel: "#jenkins-itop", color: '#FF0000', message: "Ho no! Build failed! (${currentBuild.result}), Job '${env.JOB_NAME} [${env.BUILD_NUMBER}]' (${env.BUILD_URL})")
|
||||
}
|
||||
fixed {
|
||||
slackSend(channel: "#jenkins-itop", color: '#FFa500', message: "Yes! Build repaired! (${currentBuild.result}), Job '${env.JOB_NAME} [${env.BUILD_NUMBER}]' (${env.BUILD_URL})")
|
||||
}
|
||||
}
|
||||
|
||||
environment {
|
||||
|
||||
Reference in New Issue
Block a user