Skip to content

Commit

Permalink
pipeline: don't send Slack update for dev pipelines
Browse files Browse the repository at this point in the history
  • Loading branch information
miabbott committed Sep 27, 2018
1 parent e516f9b commit 56a88a9
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 5 deletions.
4 changes: 3 additions & 1 deletion Jenkinsfile.aws-test
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,8 @@ node(NODE) {
currentBuild.result = 'FAILURE'
throw e
} finally {
utils.notify_status_change currentBuild
if (!params.DRY_RUN) {
utils.notify_status_change currentBuild
}
}
}
4 changes: 3 additions & 1 deletion Jenkinsfile.cloud
Original file line number Diff line number Diff line change
Expand Up @@ -257,6 +257,8 @@ node(NODE) {
currentBuild.result = 'FAILURE'
throw e
} finally {
utils.notify_status_change currentBuild
if (!params.DRY_RUN) {
utils.notify_status_change currentBuild
}
}
}
4 changes: 3 additions & 1 deletion Jenkinsfile.rdgo
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,8 @@ node(NODE) {
throw e
} finally {
archiveArtifacts artifacts: "log/**", allowEmptyArchive: true
utils.notify_status_change currentBuild
if (!params.DRY_RUN) {
utils.notify_status_change currentBuild
}
}
}
4 changes: 3 additions & 1 deletion Jenkinsfile.treecompose
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,8 @@ node(NODE) {
currentBuild.result = 'FAILURE'
throw e
} finally {
utils.notify_status_change currentBuild
if (!params.DRY_RUN) {
utils.notify_status_change currentBuild
}
}
}
4 changes: 3 additions & 1 deletion Jenkinsfile.treecompose-ootpa
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,8 @@ node(NODE) {
currentBuild.result = 'FAILURE'
throw e
} finally {
utils.notify_status_change currentBuild
if (!params.DRY_RUN) {
utils.notify_status_change currentBuild
}
}
}

0 comments on commit 56a88a9

Please sign in to comment.