Merge pull request #7169 from corda/connelm/INFRA-1743/release-email-notifications4.5

NOTICK Remove Slack tagging on successful/unstable builds
This commit is contained in:
Ronan Browne 2022-05-11 17:36:35 +01:00 committed by GitHub
commit ce672f50dd
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 {