Notifications only send with an ON condition?

Pure Krome's Avatar

Pure Krome

18 Aug, 2017 05:28 AM


I'm trying out the new for: node (Sharing common config between nodes) which is an AWESOME addition!

Anyways, I have a condition for master or patch branches..

      - master
      - patch

  configuration: Release  

    - provider: WebDeploy
        appveyor_repo_tag: true

    - provider: Slack
      <snipped -> goes to channel # 1 >
    - provider: Slack
      <snipped -> goes to channel # 2 ... >

See that notifications section? See how we have 2x notifications?

I'm hoping to only send that second notification IF the current build is a TAG and of course, a tag on master or patch (because it's defined in this specific for section). Of course we don't tag patch but we tag master which does our releases.

so like this...

    - provider: Slack
      <snipped -> goes to channel # 2 ... >
        appveyor_repo_tag: true

Is this possible? If not, can we add a GH issue to request it, if you kind folks like this idea?

  1. Ilya Finkelshteyn closed this discussion on 25 Aug, 2018 02:19 AM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts


? 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