diff options
author | Christian Segundo | 2024-07-08 16:29:48 +0200 |
---|---|---|
committer | Christian Segundo | 2024-07-08 16:29:48 +0200 |
commit | a5a88deb90e2e23470b0b8af57b7aeefe183ba84 (patch) | |
tree | 6c00e8e9860f5c440ca3c2e94fe2c56d1fedce32 /Jenkinsfile | |
parent | b89d3dbbcea5aca094e4ba937e54ff11b3218dcf (diff) | |
download | languagetool-a5a88deb90e2e23470b0b8af57b7aeefe183ba84.tar.gz |
send notifications on failed builds
Diffstat (limited to 'Jenkinsfile')
-rw-r--r-- | Jenkinsfile | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/Jenkinsfile b/Jenkinsfile index ce6bb7f..a16496b 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -21,5 +21,13 @@ pipeline { steps { sh 'bash .scripts.d/40-publish.sh' } } } - post { always { junit 'build/reports/*.xml' } } + post { + always { + junit 'build/reports/*.xml' + step([$class: 'Mailer', + notifyEveryUnstableBuild: true, + recipients: "christian+jenkins@segundo.io", + sendToIndividuals: true]) + } + } } |