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 5e7d308910389b924b0452ec83b53a271bbe90f3
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 | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/Jenkinsfile b/Jenkinsfile
index 346c897..d90471e 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -110,5 +110,11 @@ pipeline {
         always {
             sh "$WORKSPACE/docker-pipe/teardown.sh"
         }
+        fixed {
+            mail subject: 'Website build status', body: "🥳 Build succeeded!", 
to: 
'camel-website.874fb06555c2b4407efde9f9a3b13c13.show-sen...@streams.zulipchat.com'
+        }
+        unsuccessful {
+            mail subject: 'Website build status', body: "😞 Build failed. 
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