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

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,456,891
Community Members
 
Community Events
176
Community Groups

Bamboo builds every branch except master ignoring the Change Detection Include Only regex

I'm unsure if this is a bug with Bamboo 6.7.1 or if it's an issue in my configuration.

We have a mono repo setup and want to trigger changes on a particular directory. Our repository is added to our bamboo project with "Change detection options"'s "Include only changes that match" a regex of this

^autoscale\/.*

This seems to work correctly for when code is committed to the master branch but individual branches will always build even for this project when there are changes to the other directories that don't match that regex.

Under Branches, we create a plan branch when a pull request is created and the trigger is set to "Branch triggers: Same as defined in the parent plan". I think this configuration is the culprit.

How do I configure this to only build master and all other branches ONLY when a change detected matches my regex?

1 answer

0 votes
Jimmy Seddon Community Leader Apr 29, 2019

Hi Jack,

I wonder if you are running into this issue: https://jira.atlassian.com/browse/BAM-13977

Where by, the act of automatically creating a new branch starts a build regardless if the changes are in the expected directory or not.

It also looks like that issue is sending people over to this one:

https://jira.atlassian.com/browse/BAM-12944

So you might want to vote/comment on there.

I hope that helps.

-James

That's it. Thank you very much.

Suggest an answer

Log in or Sign up to answer
TAGS

Atlassian Community Events