diff options
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 |