ruby-changes:52103
From: k0kubun <ko1@a...>
Date: Sun, 12 Aug 2018 08:33:42 +0900 (JST)
Subject: [ruby-changes:52103] k0kubun:r64311 (trunk): appveyor.yml: customize icon_url
k0kubun 2018-08-12 08:33:36 +0900 (Sun, 12 Aug 2018) New Revision: 64311 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=64311 Log: appveyor.yml: customize icon_url We're using "x" sign as an icon for incoming webhook, but the success notification by `on_build_status_changed` should not be an "x" asign. Modified files: trunk/appveyor.yml Index: appveyor.yml =================================================================== --- appveyor.yml (revision 64310) +++ appveyor.yml (revision 64311) @@ -64,12 +64,13 @@ for: https://github.com/ruby/ruby/blob/trunk/appveyor.yml#L64 url: secure: iMINHMS0nZabaDsxN9omRDsekxzVvAAzEq5ev7lN6vZ6r9zNhl3/F/7POIVyahAwVFpRDeQT/iUugpAGWmOt3eGL/lZIdqiJFZ9DjPSkP68= # #alerts method: POST + # "icon_url" is the url used by `provider: Slack` body: >- {{^isPullRequest}} { "attachments": [ { - "title": "AppVeyor Build {{projectName}} {{buildVersion}} {{status}}", + "title": "Build {{projectName}} {{buildVersion}} {{status}}", "fallback": "AppVeyor Build {{projectName}} {{buildVersion}} {{status}}", "title_link": "{{buildUrl}}", "text": "Commit <{{commitUrl}}|{{commitId}}> by {{commitAuthor}} on {{commitDate}}: _{{commitMessage}}_", @@ -80,7 +81,9 @@ for: https://github.com/ruby/ruby/blob/trunk/appveyor.yml#L81 "color": "#ee4444" {{/failed}} } - ] + ], + "icon_url": "https://slack-files2.s3-us-west-2.amazonaws.com/bot_icons/2018-02-10/314363543719_48.png", + "username": "AppVeyor CI" } {{/isPullRequest}} on_build_success: false -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/