aboutsummaryrefslogtreecommitdiffstats
path: root/Jenkinsfile
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 /Jenkinsfile
parent57452a0779ad88f63a148ba4fbe6ddea0c5e405c (diff)
downloadarchiva-adc3164cb0746b3123d03c1bfc76d9ed3746ad56.tar.gz
archiva-adc3164cb0746b3123d03c1bfc76d9ed3746ad56.zip
Fixing mail notification
Diffstat (limited to 'Jenkinsfile')
-rw-r--r--Jenkinsfile2
1 files changed, 1 insertions, 1 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>