Update slack notifications
This commit is contained in:
committed by
Roy Clarkson
parent
c08de3815f
commit
b77ee1980f
@@ -1,4 +1,5 @@
|
||||
scs-slack-failure-channel: "#sc-app-broker"
|
||||
ab-slack-success-channel: "#sc-app-broker"
|
||||
ab-slack-failure-channel: "#sc-app-broker"
|
||||
|
||||
bintray-distribution-repo: spring-cloud-app-broker
|
||||
bintray-package: spring-cloud-app-broker
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
scs-slack-failure-channel: "#sc-app-broker"
|
||||
ab-slack-success-channel: "#sc-app-broker"
|
||||
ab-slack-failure-channel: "#sc-app-broker"
|
||||
|
||||
bintray-distribution-repo: spring-cloud-app-broker
|
||||
bintray-package: spring-cloud-app-broker
|
||||
|
||||
@@ -1,11 +1,18 @@
|
||||
---
|
||||
aliases:
|
||||
- &slack-success-notification
|
||||
put: alert
|
||||
params:
|
||||
icon_emoji: ":concourse:"
|
||||
username: concourse
|
||||
channel: {{ab-slack-success-channel}}
|
||||
text: "$BUILD_PIPELINE_NAME pipeline has succeeded with build <https://scs.ci.springapps.io/builds/$BUILD_ID|$BUILD_NAME>!"
|
||||
- &slack-failure-notification
|
||||
put: alert
|
||||
params:
|
||||
icon_emoji: ":animal:"
|
||||
username: concourse
|
||||
channel: {{scs-slack-failure-channel}}
|
||||
channel: {{ab-slack-failure-channel}}
|
||||
text: <!here> Build <https://scs.ci.springapps.io/builds/$BUILD_ID|$BUILD_NAME> of job $BUILD_JOB_NAME in the $BUILD_PIPELINE_NAME pipeline has failed!
|
||||
|
||||
jobs:
|
||||
@@ -61,6 +68,8 @@ jobs:
|
||||
DEFAULT_ORG: {{DEFAULT_ORG}}
|
||||
DEFAULT_SPACE: {{DEFAULT_SPACE}}
|
||||
SKIP_SSL_VALIDATION: {{SKIP_SSL_VALIDATION}}
|
||||
on_success:
|
||||
*slack-success-notification
|
||||
on_failure:
|
||||
*slack-failure-notification
|
||||
|
||||
|
||||
Reference in New Issue
Block a user