You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@logging.apache.org by ma...@apache.org on 2020/07/18 00:20:40 UTC

[logging-log4j2] branch master updated: Use text email template for notifications

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

mattsicker pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/logging-log4j2.git


The following commit(s) were added to refs/heads/master by this push:
     new a964628  Use text email template for notifications
a964628 is described below

commit a9646281bc332ba26b0c0d86ee27b63db5eba718
Author: Matt Sicker <bo...@gmail.com>
AuthorDate: Fri Jul 17 19:20:17 2020 -0500

    Use text email template for notifications
---
 Jenkinsfile | 25 ++++++-------------------
 1 file changed, 6 insertions(+), 19 deletions(-)

diff --git a/Jenkinsfile b/Jenkinsfile
index 383d3b2..adb8c9b 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -114,29 +114,16 @@ pipeline {
     }
     post {
         fixed {
-//            slackSend channel: 'logging',
-//                    color: 'good',
-//                    message: ":excellent: <${env.JOB_URL}|${env.JOB_NAME}> was fixed in <${env.BUILD_URL}|build #${env.BUILD_NUMBER}>."
             emailext to: 'notifications@logging.apache.org',
-                    from: 'Mr. Jenkins <je...@ci-builds.apache.org>',
-                    replyTo: 'dev@logging.apache.org',
-                    subject: "[CI][SUCCESS] ${env.JOB_NAME}#${env.BUILD_NUMBER} back to normal",
-                    body: '${SCRIPT, template="groovy-html.template"}'
+                from: 'Mr. Jenkins <je...@ci-builds.apache.org>',
+                subject: "[CI][SUCCESS] ${env.JOB_NAME}#${env.BUILD_NUMBER} back to normal",
+                body: '${SCRIPT, template="groovy-text.template"}'
         }
         failure {
-//            slackSend channel: 'logging',
-//                    color: 'danger',
-//                    message: ":doh: <${env.JOB_URL}|${env.JOB_NAME}> failed in <${env.BUILD_URL}|build #${env.BUILD_NUMBER}>. <${env.BUILD_URL}testReport/|Tests>."
             emailext to: 'notifications@logging.apache.org',
-                    from: 'Mr. Jenkins <je...@ci-builds.apache.org>',
-                    replyTo: 'dev@logging.apache.org',
-                    subject: "[CI][FAILURE] ${env.JOB_NAME}#${env.BUILD_NUMBER} has potential issues",
-                    body: '${SCRIPT, template="groovy-html.template"}'
+                from: 'Mr. Jenkins <je...@ci-builds.apache.org>',
+                subject: "[CI][FAILURE] ${env.JOB_NAME}#${env.BUILD_NUMBER} has potential issues",
+                body: '${SCRIPT, template="groovy-text.template"}'
         }
-//        unstable {
-//            slackSend channel: 'logging',
-//                    color: 'warning',
-//                    message: ":disappear: <${env.JOB_URL}|${env.JOB_NAME}> is unstable in <${env.BUILD_URL}|build #${env.BUILD_NUMBER}>."
-//        }
     }
 }