Explorar o código

alert only on master

Joe Green %!s(int64=9) %!d(string=hai) anos
pai
achega
80eb7a8eda
Modificáronse 1 ficheiros con 4 adicións e 0 borrados
  1. 4 0
      services/docstore/Jenkinsfile

+ 4 - 0
services/docstore/Jenkinsfile

@@ -66,6 +66,10 @@ pipeline {
 
   post {
     failure {
+      when {
+        branch 'master'
+      }
+      
       mail(from: "${EMAIL_ALERT_FROM}",
            to: "${EMAIL_ALERT_TO}",
            subject: "Jenkins build failed: ${JOB_NAME}:${BUILD_NUMBER}",