ruby-changes:52068
From: k0kubun <ko1@a...>
Date: Fri, 10 Aug 2018 21:55:25 +0900 (JST)
Subject: [ruby-changes:52068] k0kubun:r64276 (trunk): appveyor.yml: don't notify PR failure to Slack
k0kubun 2018-08-10 21:55:18 +0900 (Fri, 10 Aug 2018) New Revision: 64276 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=64276 Log: appveyor.yml: don't notify PR failure to Slack Modified files: trunk/appveyor.yml Index: appveyor.yml =================================================================== --- appveyor.yml (revision 64275) +++ appveyor.yml (revision 64276) @@ -59,9 +59,29 @@ for: https://github.com/ruby/ruby/blob/trunk/appveyor.yml#L59 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 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/