Fixing mail notification

This commit is contained in:
Martin Stockhammer 2018-05-05 22:48:53 +02:00
parent 57452a0779
commit adc3164cb0
2 changed files with 2 additions and 2 deletions

2
Jenkinsfile vendored
View File

@ -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>

View File

@ -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>