Add stage name to slack error message (#3554)
This commit is contained in:
parent
168f72d371
commit
28a70200d7
4
Jenkinsfile
vendored
4
Jenkinsfile
vendored
@ -18,7 +18,7 @@ node('node') {
|
|||||||
}
|
}
|
||||||
|
|
||||||
stage('Build Windows Installer') {
|
stage('Build Windows Installer') {
|
||||||
node('windows') {
|
node('windows') {
|
||||||
checkout scm
|
checkout scm
|
||||||
|
|
||||||
unstash "storagenode-binaries"
|
unstash "storagenode-binaries"
|
||||||
@ -70,7 +70,7 @@ node('node') {
|
|||||||
echo "Setting build result to FAILURE"
|
echo "Setting build result to FAILURE"
|
||||||
currentBuild.result = "FAILURE"
|
currentBuild.result = "FAILURE"
|
||||||
|
|
||||||
slackSend color: 'danger', message: "@channel ${env.BRANCH_NAME} build failed ${env.BUILD_URL}"
|
slackSend color: 'danger', message: "@channel ${env.BRANCH_NAME} build failed during stage ${env.STAGE_NAME} ${env.BUILD_URL}"
|
||||||
|
|
||||||
mail from: 'builds@storj.io',
|
mail from: 'builds@storj.io',
|
||||||
replyTo: 'builds@storj.io',
|
replyTo: 'builds@storj.io',
|
||||||
|
Loading…
Reference in New Issue
Block a user