Skip to content

Commit

Permalink
Add Slack notification on failure
Browse files Browse the repository at this point in the history
Issue eclipse-openj9/openj9#972

Signed-off-by: Adam Brousseau <adam.brousseau88@gmail.com>
  • Loading branch information
AdamBrousseau committed Mar 6, 2018
1 parent 52e3826 commit b55287d
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions jenkinsMirror
Original file line number Diff line number Diff line change
Expand Up @@ -55,4 +55,9 @@ pipeline {
}
}
}
post {
failure {
slackSend channel: '#jenkins', color: 'danger', message: "Failed: ${env.JOB_NAME} #${env.BUILD_NUMBER} (<${env.BUILD_URL}|Open>)"
}
}
}

0 comments on commit b55287d

Please sign in to comment.