mirror of
https://github.com/corda/corda.git
synced 2024-12-24 07:06:44 +00:00
Merge pull request #7158 from corda/ronanb/INFRA-1746/c4-slack-notifications-4.10
INFRA-1746: add C4 slack notifications and clean up MS teams code.
This commit is contained in:
commit
00ff06c625
16
.ci/dev/regression/Jenkinsfile
vendored
16
.ci/dev/regression/Jenkinsfile
vendored
@ -3,6 +3,7 @@
|
|||||||
* Jenkins pipeline to build Corda OS release branches and tags.
|
* Jenkins pipeline to build Corda OS release branches and tags.
|
||||||
* PLEASE NOTE: we DO want to run a build for each commit!!!
|
* PLEASE NOTE: we DO want to run a build for each commit!!!
|
||||||
*/
|
*/
|
||||||
|
@Library('corda-shared-build-pipeline-steps')
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Sense environment
|
* Sense environment
|
||||||
@ -386,6 +387,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 */
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user