Skip to content

Commit 9e538c7

Browse files
author
Dave Syer
committed
Pipeline YAML re-ordered for new concourse
1 parent 6db64ca commit 9e538c7

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

pipeline.yml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff 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+
2030
jobs:
2131
- name: build
2232
public: true
@@ -55,13 +65,3 @@ jobs:
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

0 commit comments

Comments
 (0)