|
@@ -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}"
|
|
|
+ }
|
|
|
}
|
|
|
}
|