diff options
Diffstat (limited to 'Jenkinsfile')
| -rw-r--r-- | Jenkinsfile | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/Jenkinsfile b/Jenkinsfile index 1f6ed5f..8a63478 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -17,17 +17,7 @@ pipeline { ./util/job_launching/run_simulations.py -N regress && \ ./util/job_launching/monitor_func_test.py -v -N regress' - - step(def to = emailextrecipients([ - [$class: 'CulpritsRecipientProvider'], - [$class: 'DevelopersRecipientProvider'], - [$class: 'RequesterRecipientProvider'] - ]) - - if(to != null && !to.isEmpty()) { - mail to: to, subject: "[AALP Jenkins] Build ${currentBuild.result}!", - body: "See ${env.BUILD_URL}" - }) + step([$class: 'Mailer', notifyEveryUnstableBuild: true, recipients: emailextrecipients([[$class: 'CulpritsRecipientProvider'], [$class: 'RequesterRecipientProvider']])]) } } } |
