NOTICK Remove Slack tagging on successful/unstable builds

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

View File

@ -365,12 +365,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 {