From b5c2e5db789092a71fc186ab128fbaac16b40946 Mon Sep 17 00:00:00 2001 From: Christian Segundo Date: Mon, 8 Jul 2024 16:32:48 +0200 Subject: send notifications on failed builds --- Jenkinsfile | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/Jenkinsfile b/Jenkinsfile index 861d020..93759cf 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -26,4 +26,12 @@ pipeline { } } } + post { + always { + step([$class: 'Mailer', + notifyEveryUnstableBuild: true, + recipients: "christian+jenkins@segundo.io", + sendToIndividuals: true]) + } + } } -- cgit v1.2.3