Skip to content

Commit

Permalink
Hard code email id for pipeline error.
Browse files Browse the repository at this point in the history
  • Loading branch information
Mason Packard committed Aug 24, 2016
1 parent 9c84068 commit 4354925
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 @@ -40,7 +40,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: "mason.packard@levvel.io", sendToIndividuals: true])

throw err
}
Expand Down Expand Up @@ -80,7 +80,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: "mason.packard@levvel.io", sendToIndividuals: true])

throw err
}
Expand Down

0 comments on commit 4354925

Please sign in to comment.