mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-11-14 22:23:42 +01:00
alert only on master
This commit is contained in:
Vendored
+4
@@ -62,6 +62,10 @@ pipeline {
|
|||||||
|
|
||||||
post {
|
post {
|
||||||
failure {
|
failure {
|
||||||
|
when {
|
||||||
|
branch 'master'
|
||||||
|
}
|
||||||
|
|
||||||
mail(from: "${EMAIL_ALERT_FROM}",
|
mail(from: "${EMAIL_ALERT_FROM}",
|
||||||
to: "${EMAIL_ALERT_TO}",
|
to: "${EMAIL_ALERT_TO}",
|
||||||
subject: "Jenkins build failed: ${JOB_NAME}:${BUILD_NUMBER}",
|
subject: "Jenkins build failed: ${JOB_NAME}:${BUILD_NUMBER}",
|
||||||
|
|||||||
Reference in New Issue
Block a user