summaryrefslogtreecommitdiff
path: root/Jenkinsfile
diff options
context:
space:
mode:
authortgrogers <[email protected]>2017-07-19 16:12:26 -0400
committertgrogers <[email protected]>2017-07-19 16:12:26 -0400
commit96df59010db946696455bcc341a97198c1b0778f (patch)
tree10cc0b409b9e39a7dbb487f13046b9d477a0218f /Jenkinsfile
parent744b2f50c86d1149d887645af1b4a2e16360a270 (diff)
another example?
Diffstat (limited to 'Jenkinsfile')
-rw-r--r--Jenkinsfile12
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']])])
}
}
}