This is an automated email from the ASF dual-hosted git repository.

zregvart pushed a commit to branch pr/notify-zulip
in repository https://gitbox.apache.org/repos/asf/camel-website.git

commit 2c53eed41e70f24104b9144f1daca69ad0eac1c8
Author: Zoran Regvart <zo...@regvart.com>
AuthorDate: Thu Jan 13 22:43:12 2022 +0100

    chore: failed build notification on Zulip
    
    This uses the Zulip mail-in functionality to send messages for failed
    builds.
---
 Jenkinsfile | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/Jenkinsfile b/Jenkinsfile
index 346c897..253fcec 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -110,5 +110,8 @@ pipeline {
         always {
             sh "$WORKSPACE/docker-pipe/teardown.sh"
         }
+        unsuccessful {
+            mail subject: 'Website build failed', body: "Please have a look at 
the build output at: ${env.BUILD_URL}", to: 
'camel-website.874fb06555c2b4407efde9f9a3b13c13.show-sen...@streams.zulipchat.com'
+        }
     }
 }

Reply via email to