How do I disable email notifications for a single project?

danny's Avatar

danny

12 Mar, 2018 09:54 AM

I've tried this in my appveyor.yml file, but I still get emails on build failures:

notifications:
  - provider: Email
    on_build_success: false
    on_build_failure: false
    on_build_status_changed: false

What's the correct way to just disable emails for a project?

  1. 1 Posted by Ilya Finkelshte... on 12 Mar, 2018 05:19 PM

    Ilya Finkelshteyn's Avatar

    You probably also have it set in UI. Please note that email notification setting in UI are being merged with those in YAML.

  2. 2 Posted by danny on 12 Mar, 2018 05:37 PM

    danny's Avatar

    The notifications section for this project is blank. It says:

    Configure one or more notifications

    Add notification

    Save

  3. 3 Posted by Ilya Finkelshte... on 12 Mar, 2018 05:42 PM

    Ilya Finkelshteyn's Avatar
  4. 4 Posted by danny on 12 Mar, 2018 05:44 PM

    danny's Avatar

    They're turned on there, but I'm trying to disable just for this one project, not globally.

  5. 5 Posted by Ilya Finkelshte... on 12 Mar, 2018 07:15 PM

    Ilya Finkelshteyn's Avatar

    I see. It is not possible now. Created https://github.com/appveyor/ci/issues/2145.

    Workaround for now is to add notifications at project level to every project which needs it.

  6. Ilya Finkelshteyn closed this discussion on 25 Aug, 2018 02:27 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