mirror of
https://github.com/corda/corda.git
synced 2024-12-19 04:57:58 +00:00
INFRA-1746 add slack notifications
This commit is contained in:
parent
05be5d6c42
commit
9bda96ff0a
15
.ci/dev/regression/Jenkinsfile
vendored
15
.ci/dev/regression/Jenkinsfile
vendored
@ -421,6 +421,21 @@ pipeline {
|
||||
}
|
||||
}
|
||||
}
|
||||
success {
|
||||
script {
|
||||
sendSlackNotifications("good", "BUILD PASSED", false, "#corda-corda4-build-notifications")
|
||||
}
|
||||
}
|
||||
unstable {
|
||||
script {
|
||||
sendSlackNotifications("warning", "BUILD UNSTABLE - Unstable Builds are likely a result of Nexus Sonar Scanner violations", false, "#corda-corda4-build-notifications")
|
||||
}
|
||||
}
|
||||
failure {
|
||||
script {
|
||||
sendSlackNotifications("danger", "BUILD FAILURE", true, "#corda-corda4-build-notifications")
|
||||
}
|
||||
}
|
||||
cleanup {
|
||||
deleteDir() /* clean up our workspace */
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user