mirror of
https://github.com/overleaf/overleaf.git
synced 2024-12-27 09:22:44 +00:00
only alert on master
This commit is contained in:
parent
3954ecf85e
commit
d387f979bc
1 changed files with 4 additions and 0 deletions
4
services/document-updater/Jenkinsfile
vendored
4
services/document-updater/Jenkinsfile
vendored
|
@ -75,6 +75,10 @@ pipeline {
|
|||
|
||||
post {
|
||||
failure {
|
||||
when {
|
||||
branch 'master'
|
||||
}
|
||||
|
||||
mail(from: "${EMAIL_ALERT_FROM}",
|
||||
to: "${EMAIL_ALERT_TO}",
|
||||
subject: "Jenkins build failed: ${JOB_NAME}:${BUILD_NUMBER}",
|
||||
|
|
Loading…
Reference in a new issue