diff options
author | k0kubun <k0kubun@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-08-11 23:33:36 +0000 |
---|---|---|
committer | k0kubun <k0kubun@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-08-11 23:33:36 +0000 |
commit | b1ecbf8e02d4b648f18f0814ac0b2d783fe06689 (patch) | |
tree | 2de7b3d1d0066c5eadd01f9a24230b6baae59348 /appveyor.yml | |
parent | 61bef8612afae25b912627e69699ddbef81adf93 (diff) |
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.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64311 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'appveyor.yml')
-rw-r--r-- | appveyor.yml | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/appveyor.yml b/appveyor.yml index aed28412c3..b67830036b 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -64,12 +64,13 @@ for: 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: "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 |