Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add github link to slack notification on pull-request #91

Merged
merged 2 commits into from
Nov 3, 2017
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Add github link to slack notification on pull-request
shal committed Nov 3, 2017
commit a604f82f595212dbaae17efa21de06bd6b6c3318
6 changes: 6 additions & 0 deletions tpl/service/%output_path%/pipelines/review.yml.tt
Original file line number Diff line number Diff line change
@@ -82,6 +82,9 @@ jobs:
$ATC_EXTERNAL_URL/teams/$BUILD_TEAM_NAME/pipelines/$BUILD_PIPELINE_NAME/jobs/$BUILD_JOB_NAME/builds/$BUILD_NAME
or at:
$ATC_EXTERNAL_URL/builds/$BUILD_ID
see on githib:
`cat pull-requests/.git/url`

on_failure:
do:
- put: pull-requests
@@ -97,6 +100,8 @@ jobs:
$ATC_EXTERNAL_URL/teams/$BUILD_TEAM_NAME/pipelines/$BUILD_PIPELINE_NAME/jobs/$BUILD_JOB_NAME/builds/$BUILD_NAME
or at:
$ATC_EXTERNAL_URL/builds/$BUILD_ID
see on github:
`cat pull-requests/.git/url`

- name: master-build
serial: true
@@ -140,6 +145,7 @@ jobs:
$ATC_EXTERNAL_URL/teams/$BUILD_TEAM_NAME/pipelines/$BUILD_PIPELINE_NAME/jobs/$BUILD_JOB_NAME/builds/$BUILD_NAME
or at:
$ATC_EXTERNAL_URL/builds/$BUILD_ID

on_failure:
put: slack-alert
params: