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 }