mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-05-27 19:11:56 +02:00
Try email only on master branch (#47)
This commit is contained in:
4
services/web/Jenkinsfile
vendored
4
services/web/Jenkinsfile
vendored
@@ -160,6 +160,10 @@ pipeline {
|
||||
|
||||
post {
|
||||
failure {
|
||||
when {
|
||||
branch 'master'
|
||||
}
|
||||
|
||||
mail(from: "${EMAIL_ALERT_FROM}",
|
||||
to: "${EMAIL_ALERT_TO}",
|
||||
subject: "Jenkins build failed: ${JOB_NAME}:${BUILD_NUMBER}",
|
||||
|
||||
Reference in New Issue
Block a user