Merge pull request #7167 from corda/connelm/INFRA-1743/release-email-notification4.7

NOTICK Remove Slack tagging on successful/unstable builds
This commit is contained in:
Ronan Browne 2022-05-11 18:15:44 +01:00 committed by GitHub
commit 4d16d94848
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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