This is an automated email from the ASF dual-hosted git repository.
martin_s pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/archiva.git
The following commit(s) were added to refs/heads/master by this push:
new adc3164 Fixing mail notification
adc3164 is described below
commit adc3164cb0746b3123d03c1bfc76d9ed3746ad56
Author: Martin Stockhammer <[email protected]>
AuthorDate: Sat May 5 22:48:53 2018 +0200
Fixing mail notification
---
Jenkinsfile | 2 +-
Jenkinsfile-itest | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/Jenkinsfile b/Jenkinsfile
index 9c8a056..4571452 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -127,7 +127,7 @@ def notifyBuild(String buildStatus) {
buildStatus = buildStatus ?: "UNKNOWN"
def email = "[email protected]"
- def summary = "${env.JOB_NAME}#${env.BUILD_NUMBER} - ${buildStatus} -
${currentBuild?.currentStatus}"
+ def summary = "${env.JOB_NAME}#${env.BUILD_NUMBER} - ${buildStatus} -
${currentBuild?.currentResult}"
def detail = """<h4>Job: <a href='${env.JOB_URL}'>${env.JOB_NAME}</a>
[#${env.BUILD_NUMBER}]</h4>
<p><b>${buildStatus}</b></p>
<table>
diff --git a/Jenkinsfile-itest b/Jenkinsfile-itest
index 7cc1015..fe7fea4 100644
--- a/Jenkinsfile-itest
+++ b/Jenkinsfile-itest
@@ -170,7 +170,7 @@ def notifyBuild(String buildStatus) {
buildStatus = buildStatus ?: "UNKNOWN"
def email = "[email protected]"
- def summary = "${env.JOB_NAME}#${env.BUILD_NUMBER} - ${buildStatus} -
${currentBuild?.currentStatus}"
+ def summary = "${env.JOB_NAME}#${env.BUILD_NUMBER} - ${buildStatus} -
${currentBuild?.currentResult}"
def detail = """<h4>Job: <a href='${env.JOB_URL}'>${env.JOB_NAME}</a>
[#${env.BUILD_NUMBER}]</h4>
<p><b>${buildStatus}</b></p>
<table>
--
To stop receiving notification emails like this one, please contact
[email protected].