Update appveyor.yml
Replace Slack notification with Discord
}
}
}
+ # requires APPVEYOR_DISCORD_WEBHOOK_URL enviroment variable set with Discord webhook URL
+ on_failure:
+ - ps: |
+
+ cd ..
+
+ .\appveyor-discord.ps1 failure $env:APPVEYOR_DISCORD_WEBHOOK_URL
test: off
# - git add .
# - git commit --amend --no-edit
- notifications:
- - provider: Slack
- auth_token:
- secure: 2tqAJTTbN2dm24Vrwo5TXun3Vxc34R5G9l7o3pK3xEuKZAzxx3nbP2yGkMI/kl3+NxHXknjBfZnkhZC5eLYBHb+jO7YVUZwPYOfC/ZGy5HU=
- channel: '#build-monitor'
- on_build_status_changed: true
- on_build_success: false
- on_build_failure: false
-
-
####################################
# configuration for develop branches
-
}
}
+ # requires APPVEYOR_DISCORD_WEBHOOK_URL enviroment variable set with Discord webhook URL
+ on_failure:
+ - ps: |
+
+ cd ..
+
+ .\appveyor-discord.ps1 failure $env:APPVEYOR_DISCORD_WEBHOOK_URL
+
test: off
artifacts:
# - git add .
# - git commit --amend --no-edit
- notifications:
- - provider: Slack
- auth_token:
- secure: 2tqAJTTbN2dm24Vrwo5TXun3Vxc34R5G9l7o3pK3xEuKZAzxx3nbP2yGkMI/kl3+NxHXknjBfZnkhZC5eLYBHb+jO7YVUZwPYOfC/ZGy5HU=
- channel: '#build-monitor'
- on_build_status_changed: true
- on_build_success: false
- on_build_failure: false
-
############################################
# configuration for release candidate branch
-
}
}
+ # requires APPVEYOR_DISCORD_WEBHOOK_URL enviroment variable set with Discord webhook URL
+ on_failure:
+ - ps: |
+
+ cd ..
+
+ .\appveyor-discord.ps1 failure $env:APPVEYOR_DISCORD_WEBHOOK_URL
+
test: off
artifacts:
# # add here the updated changelog and the updated assembly info files
# - git add .
# - git commit --amend --no-edit
-
- notifications:
- - provider: Slack
- auth_token:
- secure: 2tqAJTTbN2dm24Vrwo5TXun3Vxc34R5G9l7o3pK3xEuKZAzxx3nbP2yGkMI/kl3+NxHXknjBfZnkhZC5eLYBHb+jO7YVUZwPYOfC/ZGy5HU=
- channel: '#build-monitor'
- on_build_status_changed: true
- on_build_success: false
- on_build_failure: false
