Reputation: 382
I want to trigger a build when any of the following is true:
When I add a paths statement to my yaml build template only my branch trigger fires. I am unable to trigger off of a tag. When I remove the paths statement both my branch and tag filters work.
What am I missing?
This triggers on branch = dev or tag is either RC* or Release*
trigger:
branches:
include:
- dev
tags:
include:
- RC*
- Release*
This triggers on branch = dev only.
trigger:
branches:
include:
- dev
tags:
include:
- RC*
- Release*
paths:
include:
- /site/
Upvotes: 0
Views: 96
Reputation: 19451
I can reproduce your issue here. This issue has been confirmed as a bug and move to the product team . Please follow up this case and you can vote it to increase the priority. Sorry for this inconvenience.
Below is my reproduce:
When I added the paths trigger to the yaml, I committed the READ.md file and added the tag to the commit. However, it does not fire tag trigger. After I removing the paths trigger, the tag trigger will be fire normally.
Upvotes: 2