NOTICK Remove Slack tagging on successful/unstable builds

This commit is contained in:
Connel McGovern 2022-05-11 14:23:35 +01:00 committed by GitHub
parent 1888ed6ba1
commit e8e46a220a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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