I have a bunch of build plans with "Create plan branch for new branches" selected under the branch tab of the "Plan configuration" section of the build plan.
I notice that on initial creation of the plan branch, the build plan runs for that branch even if the repository change detection file pattern is excluding a commit from that directory in GIT.
For example, if I commit into this dir:
/source/app/a
but my project's build plan has this file detection pattern:
^/source/app/b/*
Creating a new branch on "source" but committing only into "a" still triggers a build.
Does anyone know how to avoid this? I would only like build plans to run if I commit into directories that they are watching.
Thanks.
Hi Salmaan,
Yes, you are right. I believe it is a known bug as described here - Branch builds do not honor Linked Repos includes/excludes on branch creation that has not been fixed yet.
Thanks,
Robhit
Thanks @robhit - the link to Branch builds do not honor Linked Repos includes/excludes on branch creation (BAM-15899) is defunct, so here it is again ;)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.