Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Bamboo plan branch builds automatically on creation

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.

1 answer

1 vote
robhit Atlassian Team Apr 05, 2018

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

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Bamboo

Bamboo Data Center Apps Program coming soon

G’day Bamboo customers, As we approach GA for Bamboo Data Center , we would like to inform you that the Data Center Apps Program for Bamboo starts this quarter. How long does it take? We are g...

77 views 0 6
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you