mirror of
https://github.com/corda/corda.git
synced 2025-02-01 00:45:59 +00:00
Merge pull request #7129 from corda/connelm/INFRA-1743/release-email-notification4.10
INFRA-1743 Activate C4 email notifications Open source and Ent
This commit is contained in:
commit
13134af5f3
19
.ci/dev/regression/Jenkinsfile
vendored
19
.ci/dev/regression/Jenkinsfile
vendored
@ -82,6 +82,7 @@ pipeline {
|
||||
CORDA_ARTIFACTORY_USERNAME = "${env.ARTIFACTORY_CREDENTIALS_USR}"
|
||||
CORDA_BUILD_EDITION = "${buildEdition}"
|
||||
DOCKER_URL = "https://index.docker.io/v1/"
|
||||
EMAIL_RECIPIENTS = credentials('corda4-email-recipient')
|
||||
}
|
||||
|
||||
stages {
|
||||
@ -389,19 +390,23 @@ pipeline {
|
||||
}
|
||||
success {
|
||||
script {
|
||||
sendSlackNotifications("good", "BUILD PASSED", false, "#corda-corda4-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", false, "#corda-corda4-build-notifications")
|
||||
script {
|
||||
sendSlackNotifications("warning", "BUILD UNSTABLE - Unstable Builds are likely a result of Nexus Sonar Scanner violations", false, "#corda-corda4-open-source-build-notifications")
|
||||
}
|
||||
}
|
||||
failure {
|
||||
script {
|
||||
sendSlackNotifications("danger", "BUILD FAILURE", true, "#corda-corda4-build-notifications")
|
||||
}
|
||||
}
|
||||
script {
|
||||
sendSlackNotifications("danger", "BUILD FAILURE", true, "#corda-corda4-open-source-build-notifications")
|
||||
if (isReleaseTag || isReleaseBranch || isReleaseCandidate) {
|
||||
sendEmailNotifications("${env.EMAIL_RECIPIENTS}")
|
||||
}
|
||||
}
|
||||
}
|
||||
cleanup {
|
||||
deleteDir() /* clean up our workspace */
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user