File tree Expand file tree Collapse file tree 1 file changed +10
-10
lines changed Expand file tree Collapse file tree 1 file changed +10
-10
lines changed Original file line number Diff line number Diff line change @@ -17,6 +17,16 @@ resources:
1717 source :
1818 url : {{slack-url}}
1919
20+ slack-failure : &slack-failure
21+ put : slack
22+ params :
23+ attachments :
24+ - color : danger
25+ fallback : " $BUILD_PIPELINE_NAME/$BUILD_JOB_NAME #$BUILD_NAME <FAILURE>"
26+ text : " <!here> Build has failed"
27+ title : " $BUILD_PIPELINE_NAME/$BUILD_JOB_NAME #$BUILD_NAME"
28+ title_link : $ATC_EXTERNAL_URL/teams/$BUILD_TEAM_NAME/pipelines/$BUILD_PIPELINE_NAME/jobs/$BUILD_JOB_NAME/builds/$BUILD_NAME
29+
2030jobs :
2131- name : build
2232 public : true
5565 spring_username : {{spring-username}}
5666 spring_password : {{spring-password}}
5767 on_failure : *slack-failure
58-
59- slack-failure : &slack-failure
60- put : slack
61- params :
62- attachments :
63- - color : danger
64- fallback : " $BUILD_PIPELINE_NAME/$BUILD_JOB_NAME #$BUILD_NAME <FAILURE>"
65- text : " <!here> Build has failed"
66- title : " $BUILD_PIPELINE_NAME/$BUILD_JOB_NAME #$BUILD_NAME"
67- title_link : $ATC_EXTERNAL_URL/teams/$BUILD_TEAM_NAME/pipelines/$BUILD_PIPELINE_NAME/jobs/$BUILD_JOB_NAME/builds/$BUILD_NAME
You can’t perform that action at this time.
0 commit comments