Browse Source

Added another post

Spencer Gardner 7 years ago
parent
commit
20be34acd8
1 changed files with 6 additions and 0 deletions
  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}"
+		}
     }
 }