From 7323cc7e1460d3db04dc95934a189d5588b92723 Mon Sep 17 00:00:00 2001 From: psycho Date: Tue, 9 Feb 2021 11:46:17 +0100 Subject: [PATCH] fix mail subject --- Jenkinsfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index b5170a0..9c1c9cb 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -268,5 +268,5 @@ def send_mail() { //def body_text = "${JOB_NAME} - Build # ${BUILD_NUMBER} - ${currentBuild.currentResult}:
Check console output at ${BUILD_URL} to view the results." add2mail("Check console output at ${BUILD_URL} to view the results.") - emailext body: mail_body, subject: "${JOB_NAME} - Build # ${BUILD_NUMBER} - ${currentBuild.currentResult}!", to: 'psychowoife@gmail.com' + emailext body: mail_body, subject: "${JOB_NAME} - Build # ${BUILD_NUMBER} - ${currentBuild.result}!", to: 'psychowoife@gmail.com' }