From bbf370cca5d1b8f0f8bcddd126ea420f453d75d6 Mon Sep 17 00:00:00 2001 From: psycho <psychowoife@gmail.com> Date: Tue, 9 Feb 2021 11:40:59 +0100 Subject: [PATCH] fixed mail subject --- Jenkinsfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index 0b63ae1..5366139 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -268,5 +268,5 @@ def send_mail() { //def body_text = "${JOB_NAME} - Build # ${BUILD_NUMBER} - ${currentBuild.currentResult}:<br>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: mail_subject, to: 'psychowoife@gmail.com' + emailext body: mail_body, subject: "${JOB_NAME} - Build # ${BUILD_NUMBER} - ${currentBuild.currentResult}!", to: 'psychowoife@gmail.com' }