Ver Fonte

Added another post

Spencer Gardner há 7 anos atrás
pai
commit
20be34acd8
1 ficheiros alterados com 6 adições e 0 exclusões
  1. 6 0
      jenkinsfile

+ 6 - 0
jenkinsfile

@@ -27,5 +27,11 @@ pipeline{
                  subject: "Failed Pipeline: ${currentBuild.fullDisplayName}",
                  body: "Something is wrong with ${env.BUILD_URL}"
         }
+		fixed
+		{
+			mail to: "${env.ALERT_EMAIL}",
+                 subject: "Pipeline fixed: ${currentBuild.fullDisplayName}",
+                 body: "The pipeline was fixed with ${env.BUILD_URL}"
+		}
     }
 }