Is it possible to control how frequently Bamboo looks for new branches?

We use Bamboo 4.4.4 and Stash 2.3.0, with automatic branch management configured on our main plan.

It seems that Bamboo is certainly taking its time with detecting new branches. We have experienced delays of up to 10 minutes between the time that a branch is pushed to the repository, and the time that Bamboo actually creates a plan branch.

Is it possible to control this delay somehow? we are currently in POC stages so this delay is very confusing.

3 answers

1 accepted

This widget could not be displayed.

Yes, it's configurable. Try passing -Dbamboo.branchDetection.checkInterval=60 to Bamboo server. The value is in seconds.

We run Bamboo as a Windows service. By "passing", do you mean editing the wrapper.conf file?

By the way, wouldn't you say that this is an important-enough setting that should be in Bamboo's administration panels somewhere?

... How? Can you provide a link to the documentation showing this?

Yes, you'd need to edit the conf file.

By the way, wouldn't you say that this is an important-enough setting that should be in Bamboo's administration panels somewhere?

Maybe, otoh, there are so many options that could be there... You can also trigger the detection externally, btw.

This widget could not be displayed.

Would it be more efficient for stash to call out to the bamboo API to create the plan branch (if it doesnt already exist) when a push is made to a stash repository?

This widget could not be displayed.

Hi Isaac (and Brian).

Just from the Stash perspective it's worth mentioning that the biggest problem we see related to performance is CI integartion. If/when you decrease your polling time please keep in mind that Stash only supports a limited number of concurrent Git operations. This document outlines all the various things to consider, and caching that you can configure:

https://confluence.atlassian.com/display/STASH/Scaling+Stash+for+Continuous+Integration+performance

Brian - related to your question. You may be possible to configure Stash to ping Bamboo using our Web Hook plugin:

https://marketplace.atlassian.com/plugins/com.atlassian.stash.plugin.stash-web-post-receive-hooks-plugin

And the associated Bamboo documentation:

https://confluence.atlassian.com/display/BAMBOO/Repository+triggers+the+build+when+changes+are+committed#Repositorytriggersthebuildwhenchangesarecommitted-2.ConfiguringBambootorespondtopost-commitmessages

You might also be interested in the following Stash feature request which you might want to watch/vote for:

https://jira.atlassian.com/browse/STASH-3885

Cheers,

Charles

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Tuesday in Jira

What modern development practices are at the heart of how your team delivers software?

Hey Community mates! Claire here from the Software Product Marketing team. We all know software development changes rapidly, and it's often tough to keep up. But from our research, we've found the h...

143 views 1 3
Join discussion

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you