aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Segundo2024-07-08 16:03:26 +0200
committerChristian Segundo2024-07-08 16:20:04 +0200
commitbcf3c1318a7d9dcaf1407fe78e9c1a68b72f75e2 (patch)
tree7845c9f1c0692cbc8fd89f8a9946130e2a82b870
parent10c11dd38bda7036339bec412df96234e85130be (diff)
downloadjenkins-agent-docker-cli-bcf3c1318a7d9dcaf1407fe78e9c1a68b72f75e2.tar.gz
send email
-rw-r--r--Jenkinsfile10
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])
+ }
+ }
}