浏览代码

Added another post

Spencer Gardner 7 年之前
父节点
当前提交
20be34acd8
共有 1 个文件被更改,包括 6 次插入0 次删除
  1. 6 0
      jenkinsfile

+ 6 - 0
jenkinsfile

@@ -27,5 +27,11 @@ pipeline{
                  subject: "Failed Pipeline: ${currentBuild.fullDisplayName}",
                  subject: "Failed Pipeline: ${currentBuild.fullDisplayName}",
                  body: "Something is wrong with ${env.BUILD_URL}"
                  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}"
+		}
     }
     }
 }
 }