Slack notification for on build status changed
Hi,
I've setup the following config:
https://github.com/nanoframework/nf-Visual-Studio-extension/blob/master/appveyor.yml
on which there is on_build_status_changed: true
I'm always receiving a build notification no matter if it's failure or success.
What should be the correct config so I only get notifications if the build breaks (considering that it has been successful before) and when it's back to success after that failure?
Thanks!
Comments are currently closed for this discussion. You can start a new one.
Keyboard shortcuts
Generic
? | Show this help |
---|---|
ESC | Blurs the current field |
Comment Form
r | Focus the comment reply box |
---|---|
^ + ↩ | Submit the comment |
You can use Command ⌘
instead of Control ^
on Mac
1 Posted by Ilya Finkelshte... on 25 Sep, 2017 06:11 PM
Hi José,
Maybe you have also notification settings in UI? Notifications from UI and YAML are being merged.
Ilya.
2 Posted by José Simões on 25 Sep, 2017 06:22 PM
Hi,
I don’t have anything set on the UI.
Moreover I don’t think there is any UI configuration for Slack…
3 Posted by Ilya Finkelshte... on 25 Sep, 2017 07:06 PM
UI configuration exists for every notification provider supported by AppVeyor. Please double-check it under settings > notifications for your project. Anyway, please try to add the flowing to your notification settings:
4 Posted by José Simões on 26 Sep, 2017 07:50 AM
Hi IIya,
That did it.
Suggest that the need for the 3 settings is stressed in the documentation to save frustrations.
Thanks again!
5 Posted by Ilya Finkelshte... on 26 Sep, 2017 05:07 PM
Welcome :) I believe that this is stressed here. Though my favorite way to have correct YAML is do basic things in UI and then press
Export YAML
.Ilya Finkelshteyn closed this discussion on 25 Aug, 2018 02:20 AM.