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' }