Skip to content

Commit

Permalink
add zulip notification from apveyor
Browse files Browse the repository at this point in the history
  • Loading branch information
sblaisot committed Jan 2, 2018
1 parent b54dd04 commit 6ca0352
Showing 1 changed file with 10 additions and 9 deletions.
19 changes: 10 additions & 9 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,6 @@ configuration:
# - release
# - debug
environment:
ZULIP_EMAIL:
secure: sIPLydvxMgNTxZAUD/Ia97wxEX9phggY3TDPyidvWPgQrCqCPyaaA1iyNHf9J+amgW2mF4EQHgfI/XzfgmsvMg==
ENVIRONMENTS_URL: https://downloads.mixxx.org/builds/buildserver/2.1.x-windows/
ENVIRONMENTS_PATH: C:\mixxx-buildserver
matrix:
Expand Down Expand Up @@ -79,11 +77,14 @@ deploy:
name: downloads.mixxx.org

notifications:
- provider: Email
to:
- '%ZULIP_EMAIL%'
subject: 'Build {{status}}' # optional
message: "{{message}}, {{commitId}}, ..." # optional
- provider: Webhook
url: https://mixxx.zulipchat.com/api/v1/messages
method: POST
content_type: application/x-www-form-urlencoded
headers:
Authorization:
secure: 95cbVBcC4rogjE5VNdhuYm8cnjPF8+7SeQXySqcxAqrFZxK+/Kcn3Q2hRb2iZfUEKZ+EdCYwx7EbpZdSiZc5goAuJT+/QXXT/Ls+fzc+eSy4Sz1Ic5t2BjLhmYZLdnBL3uIVceNSb8GzYPQx0+xy7g==
on_build_success: true
on_build_failure: true
on_build_status_changed: true
#- provider: Webhook # Not suported by Zulip yet

body: "type=stream&to=appveyor&subject={{projectName}} Build {{buildVersion}} {{status}}&content=Build {{buildVersion}} {{status}}{{#failed}} :x:{{/failed}}{{#passed}} :y:{{/passed}} {{buildUrl}}"

0 comments on commit 6ca0352

Please sign in to comment.