You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by zr...@apache.org on 2018/02/19 11:34:36 UTC

[camel] 01/01: CAMEL-11930: pipeline e-mail support

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

zregvart pushed a commit to branch jenkins-pipeline
in repository https://gitbox.apache.org/repos/asf/camel.git

commit f06790d59ec4be124754d3aab73eaab783da7520
Author: Zoran Regvart <zr...@apache.org>
AuthorDate: Mon Feb 19 12:33:37 2018 +0100

    CAMEL-11930: pipeline e-mail support
    
    Pipeline build should now send e-mail notifications.
---
 Jenkinsfile | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/Jenkinsfile b/Jenkinsfile
index ed79991..7908964 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -72,5 +72,16 @@ pipeline {
             }
         }
     }
+
+    post {
+        changed {
+            emailext(
+                subject: '${DEFAULT_SUBJECT}',
+                to: 'zoran+cameldev@regvart.com',
+                body: '${DEFAULT_CONTENT}',
+                recipientProviders: [[$class: 'CulpritsRecipientProvider']]
+            )
+        }
+    }
 }
 

-- 
To stop receiving notification emails like this one, please contact
zregvart@apache.org.