Filter notifications (e.g. per branch)

mustafa.arif's Avatar

mustafa.arif

31 Dec, 2014 03:14 PM

CI notifications good. Too many notifications bad.

We use a feature branching workflow. On TeamCity we have HipChat configured to only notify us when the master branch breaks, on the basis that other branches are expected to break. It's only when master breaks that we all need to know and jump on it.

  1. 1 Posted by peto268 on 12 Jan, 2017 10:42 AM

    peto268's Avatar

    Is this feature planned? I would be really glad if i have this option, otherwise i have to duplicate a lot of yml config into another file :(

  2. Support Staff 2 Posted by Ilya Finkelshte... on 12 Jan, 2017 09:06 PM

    Ilya Finkelshteyn's Avatar

    Hi Peter,

    Can you please explain how you do this now with duplication? Probably you use Conditional build configuration with everything, but notifications duplicated, right?

    Thanks,
    Ilya.

  3. Support Staff 3 Posted by Ilya Finkelshte... on 13 Jan, 2017 03:07 AM

    Ilya Finkelshteyn's Avatar

    Bumped priority of this issue. No ETA but should be available in visible feature.

  4. 4 Posted by peto268 on 13 Jan, 2017 10:38 AM

    peto268's Avatar

    Hi Ilya,

    I havent actually done it yet, the idea was to duplicate the whole yml file into say appveyor-features.yml and appveyor.yml first will be used by one project and will only build my feature branches, the second one will be very similar, but will build only the master branch. Both ymls will be pretty similar, the only differences will be the build branch filter and nofications (i want to have more aggresive notifications when master is failing).
    The same thing could be done by conditional build configuration as you mentioned, but frankly this will give me only a small benefit. I don't need to have two projects, but still the yml will be double the size with many parts duplicated.

    P

  5. Support Staff 5 Posted by Ilya Finkelshte... on 13 Jan, 2017 05:13 PM

    Ilya Finkelshteyn's Avatar

    I see, thank you, please watch https://github.com/appveyor/ci/issues/272

  6. Ilya Finkelshteyn closed this discussion on 25 Aug, 2018 02:14 AM.

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