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

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

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 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
Community showcase
Published in Bamboo

Bamboo 7.1 is here and is packed with value!

I'm happy to announce that Bamboo 7.1 has been released and it’s overflowing with awesome new features. Top-voted issues First and foremost, a bunch of JAC top voted issues has been delivered - y...

943 views 4 7
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