mirror of
https://github.com/corda/corda.git
synced 2025-06-16 14:18:20 +00:00
INFRA-1746 add slack notifications
This commit is contained in:
15
.ci/dev/regression/Jenkinsfile
vendored
15
.ci/dev/regression/Jenkinsfile
vendored
@ -421,6 +421,21 @@ pipeline {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
success {
|
||||||
|
script {
|
||||||
|
sendSlackNotifications("good", "BUILD PASSED", false, "#corda-corda4-build-notifications")
|
||||||
|
}
|
||||||
|
}
|
||||||
|
unstable {
|
||||||
|
script {
|
||||||
|
sendSlackNotifications("warning", "BUILD UNSTABLE - Unstable Builds are likely a result of Nexus Sonar Scanner violations", false, "#corda-corda4-build-notifications")
|
||||||
|
}
|
||||||
|
}
|
||||||
|
failure {
|
||||||
|
script {
|
||||||
|
sendSlackNotifications("danger", "BUILD FAILURE", true, "#corda-corda4-build-notifications")
|
||||||
|
}
|
||||||
|
}
|
||||||
cleanup {
|
cleanup {
|
||||||
deleteDir() /* clean up our workspace */
|
deleteDir() /* clean up our workspace */
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user