From 4d020773df0db9ebe971fcd377e602144681ab55 Mon Sep 17 00:00:00 2001 From: Mason Packard Date: Wed, 24 Aug 2016 10:45:11 -0400 Subject: [PATCH] Adjust syntax for email id on build error. --- Jenkinsfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 0c49b8c..bb80400 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -39,7 +39,7 @@ if (BRANCH_TEST=="shibboleth-production"){ currentBuild.result = "FAILURE" slackSend color: 'danger', message: "BUILD ERROR: There was a problem with Shibboleth Appliance. ${env.JOB_NAME} ${env.BUILD_NUMBER} (<${env.BUILD_URL} |Open>) \n\n ${err}" - step([$class: 'Mailer', notifyEveryUnstableBuild: true, recipients: "${email-error-id}", sendToIndividuals: true]) + step([$class: 'Mailer', notifyEveryUnstableBuild: true, recipients: "${email_error_id}", sendToIndividuals: true]) throw err } @@ -79,7 +79,7 @@ if (BRANCH_TEST=="shibboleth-production"){ currentBuild.result = "FAILURE" slackSend color: 'danger', message: "BUILD ERROR: There was a problem with Comanage Appliance. ${env.JOB_NAME} ${env.BUILD_NUMBER} (<${env.BUILD_URL} |Open>) \n\n ${err}" - step([$class: 'Mailer', notifyEveryUnstableBuild: true, recipients: "${email-error-id}", sendToIndividuals: true]) + step([$class: 'Mailer', notifyEveryUnstableBuild: true, recipients: "${email_error_id}", sendToIndividuals: true]) throw err }