mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
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
This commit is contained in:
parent
c5aeebfed5
commit
63145476e8
1 changed files with 22 additions and 2 deletions
24
appveyor.yml
24
appveyor.yml
|
@ -59,9 +59,29 @@ for:
|
||||||
only:
|
only:
|
||||||
- trunk
|
- trunk
|
||||||
notifications:
|
notifications:
|
||||||
- provider: Slack
|
- provider: Webhook
|
||||||
incoming_webhook:
|
url:
|
||||||
secure: iMINHMS0nZabaDsxN9omRDsekxzVvAAzEq5ev7lN6vZ6r9zNhl3/F/7POIVyahAwVFpRDeQT/iUugpAGWmOt3eGL/lZIdqiJFZ9DjPSkP68= # #alerts
|
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_success: false
|
||||||
on_build_failure: true
|
on_build_failure: true
|
||||||
on_build_status_changed: true
|
on_build_status_changed: true
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue