diff options
author | k0kubun <k0kubun@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-08-10 12:55:18 +0000 |
---|---|---|
committer | k0kubun <k0kubun@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-08-10 12:55:18 +0000 |
commit | 63145476e8753b131cb6e8e2bd323b6cdccf6256 (patch) | |
tree | 2568be02fc98628f5efaf818985d439e5e25df99 /appveyor.yml | |
parent | c5aeebfed59bd5dc07e6fb617efb33ddf5e8007c (diff) | |
download | ruby-63145476e8753b131cb6e8e2bd323b6cdccf6256.tar.gz |
appveyor.yml: don't notify PR failure to Slack
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64276 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'appveyor.yml')
-rw-r--r-- | appveyor.yml | 24 |
1 files changed, 22 insertions, 2 deletions
diff --git a/appveyor.yml b/appveyor.yml index 6e4f735149..ede210f5e4 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -59,9 +59,29 @@ for: only: - trunk notifications: - - provider: Slack - incoming_webhook: + - provider: Webhook + url: secure: iMINHMS0nZabaDsxN9omRDsekxzVvAAzEq5ev7lN6vZ6r9zNhl3/F/7POIVyahAwVFpRDeQT/iUugpAGWmOt3eGL/lZIdqiJFZ9DjPSkP68= # #alerts + method: POST + body: >- + {{^isPullRequest}} + { + "attachments": [ + { + "title": "AppVeyor Build {{projectName}} {{buildVersion}} {{status}}", + "fallback": "AppVeyor Build {{projectName}} {{buildVersion}} {{status}}", + "title_link": "{{buildUrl}}", + "text": "Commit <{{commitUrl}}|{{commitId}}> by {{commitAuthor}} on {{commitDate}}: _{{commitMessage}}_", + {{#passed}} + "color": "#44ee44" + {{/passed}} + {{#failed}} + "color": "#ee4444" + {{/failed}} + } + ] + } + {{/isPullRequest}} on_build_success: false on_build_failure: true on_build_status_changed: true |