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

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

ishabtay April 11, 2013

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

1 vote
Answer accepted
Przemek Bruski
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
April 11, 2013

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

ishabtay April 11, 2013

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?

ishabtay April 11, 2013

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

Przemek Bruski
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
April 11, 2013

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.

0 votes
cofarrell
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
September 28, 2013

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

0 votes
Brian Fletcher September 22, 2013

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?

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events