Skip to content

Commit

Permalink
Adjust syntax for email id on build error.
Browse files Browse the repository at this point in the history
  • Loading branch information
Mason Packard committed Aug 24, 2016
1 parent 7a6b8fb commit 8507dce
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down Expand Up @@ -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
}
Expand Down

0 comments on commit 8507dce

Please sign in to comment.