aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Stockhammer <martin_s@apache.org>2018-05-05 22:48:53 +0200
committerMartin Stockhammer <martin_s@apache.org>2018-05-05 22:48:53 +0200
commitadc3164cb0746b3123d03c1bfc76d9ed3746ad56 (patch)
tree6982cd2f692ff9fa5a19d06aa1a1c39320302019
parent57452a0779ad88f63a148ba4fbe6ddea0c5e405c (diff)
downloadarchiva-adc3164cb0746b3123d03c1bfc76d9ed3746ad56.tar.gz
archiva-adc3164cb0746b3123d03c1bfc76d9ed3746ad56.zip
Fixing mail notification
-rw-r--r--Jenkinsfile2
-rw-r--r--Jenkinsfile-itest2
2 files changed, 2 insertions, 2 deletions
diff --git a/Jenkinsfile b/Jenkinsfile
index 9c8a05611..4571452c0 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -127,7 +127,7 @@ def notifyBuild(String buildStatus) {
buildStatus = buildStatus ?: "UNKNOWN"
def email = "notifications@archiva.apache.org"
- 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 7cc101508..fe7fea4cf 100644
--- a/Jenkinsfile-itest
+++ b/Jenkinsfile-itest
@@ -170,7 +170,7 @@ def notifyBuild(String buildStatus) {
buildStatus = buildStatus ?: "UNKNOWN"
def email = "notifications@archiva.apache.org"
- 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>