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

david's Avatar

david

16 Dec, 2019 06:52 PM

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

  1. Support Staff 1 Posted by Feodor Fitsner on 16 Dec, 2019 07:04 PM

    Feodor Fitsner's Avatar

    Hi David,

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

  2. 2 Posted by david on 16 Dec, 2019 07:14 PM

    david's Avatar

    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

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:

»

Attached Files

You can attach files up to 10MB

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

Recent Discussions

27 Jan, 2023 08:06 PM
27 Jan, 2023 08:05 PM
25 Jan, 2023 03:23 PM
25 Jan, 2023 03:22 PM
23 Jan, 2023 03:29 PM