NOTICK Remove Slack tagging on successful/unstable builds

This commit is contained in:
Connel McGovern 2022-05-11 14:26:52 +01:00 committed by GitHub
parent 46174261ad
commit 9b8b0a3111
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -364,12 +364,12 @@ pipeline {
}
success {
script {
sendSlackNotifications("good", "BUILD PASSED", true, "#corda-corda4-open-source-build-notifications")
sendSlackNotifications("good", "BUILD PASSED", false, "#corda-corda4-open-source-build-notifications")
}
}
unstable {
script {
sendSlackNotifications("warning", "BUILD UNSTABLE - Unstable Builds are likely a result of Nexus Sonar Scanner violations", true, "#corda-corda4-open-source-build-notifications")
sendSlackNotifications("warning", "BUILD UNSTABLE - Unstable Builds are likely a result of Nexus Sonar Scanner violations", false, "#corda-corda4-open-source-build-notifications")
}
}
failure {