Is there a way to only notify Slack for master branch builds?

Is there a way to only notify Slack for master branch builds?
Thanks,

  1. Hi David,

    It's currently not possible to send notifications on specific branch.

  2. Thanks. I did it via a ps script.
    on_failure:
      - ps:
    if ($env:APPVEYOR_REPO_BRANCH -eq "master") {.\scripts\slack_fail.ps1}

Reply to this discussion Internal reply only staff will see it

Markdown

Attaching KB article:

» »

Read more…

Attach files

Up to 10MB each.

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

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