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/08/23 23:26:06 UTC

[logging-pipelines] branch master updated: Try using HTML email template

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-pipelines.git


The following commit(s) were added to refs/heads/master by this push:
     new 3a69e21  Try using HTML email template
3a69e21 is described below

commit 3a69e2128d57b8596103cfe942561f01df1d89c2
Author: Matt Sicker <bo...@gmail.com>
AuthorDate: Sun Aug 23 18:25:41 2020 -0500

    Try using HTML email template
---
 log4j/Jenkinsfile               | 1 -
 vars/notifyBuildFailed.groovy   | 3 ++-
 vars/notifyBuildFixed.groovy    | 3 ++-
 vars/notifyBuildUnstable.groovy | 3 ++-
 4 files changed, 6 insertions(+), 4 deletions(-)

diff --git a/log4j/Jenkinsfile b/log4j/Jenkinsfile
index 8b79579..9bcafcd 100644
--- a/log4j/Jenkinsfile
+++ b/log4j/Jenkinsfile
@@ -96,7 +96,6 @@ pipeline {
             }
             steps {
                 mvn '-DskipTests deploy'
-                archiveArtifacts artifacts: '**/target/log4j-*.jar', followSymlinks: false
             }
             post {
                 fixed {
diff --git a/vars/notifyBuildFailed.groovy b/vars/notifyBuildFailed.groovy
index 232cd47..677284e 100644
--- a/vars/notifyBuildFailed.groovy
+++ b/vars/notifyBuildFailed.groovy
@@ -2,5 +2,6 @@ def call() {
     emailext to: 'notifications@logging.apache.org',
         from: 'Mr. Jenkins <je...@ci-builds.apache.org>',
         subject: "[CI][FAILURE] ${env.JOB_NAME}#${env.BUILD_NUMBER} has potential issues",
-        body: '${JELLY_SCRIPT,template="text"}'
+        mimeType: 'text/html',
+        body: '${JELLY_SCRIPT,template="html_gmail"}'
 }
diff --git a/vars/notifyBuildFixed.groovy b/vars/notifyBuildFixed.groovy
index 8dda0c2..a08c0f9 100644
--- a/vars/notifyBuildFixed.groovy
+++ b/vars/notifyBuildFixed.groovy
@@ -2,5 +2,6 @@ def call() {
     emailext to: 'notifications@logging.apache.org',
         from: 'Mr. Jenkins <je...@ci-builds.apache.org>',
         subject: "[CI][SUCCESS] ${env.JOB_NAME}#${env.BUILD_NUMBER} back to normal",
-        body: '${JELLY_SCRIPT,template="text"}'
+        mimeType: 'text/html',
+        body: '${JELLY_SCRIPT,template="html_gmail"}'
 }
diff --git a/vars/notifyBuildUnstable.groovy b/vars/notifyBuildUnstable.groovy
index 2ac59a8..49cfa6c 100644
--- a/vars/notifyBuildUnstable.groovy
+++ b/vars/notifyBuildUnstable.groovy
@@ -2,5 +2,6 @@ def call() {
     emailext to: 'notifications@logging.apache.org',
         from: 'Mr. Jenkins <je...@ci-builds.apache.org>',
         subject: "[CI][UNSTABLE] ${env.JOB_NAME}#${env.BUILD_NUMBER} has test failures",
-        body: '${JELLY_SCRIPT,template="text"}'
+        mimeType: 'text/html',
+        body: '${JELLY_SCRIPT,template="html_gmail"}'
 }