How to reconfigure Bamboo agent home after upgrade


We've got a central Bamboo server running six local agents as well as several physical machines running three remote agents each.

We've recently upgraded to Bamboo 4.4.1 and as a result of the upgrade, the build agents have been upgraded and reconfigured. One of the reconfigurations seems to have been that the working directory for the agents is no longer pulled from the "bamboo-agent.cfg.xml" file.

The consequence of this for us is that all of our agents now have their own working directory (previously all agents on a particular machine would share a working directory). This has resulted in a massive increase in the amount of disk space required for our build agents.

How can the agents be reconfigured to use a shared working directory again?

2 answers

1 accepted

1 vote
Accepted answer

After talking with Atlassian support, the solution was to disable Bamboo's Concurrent Build feature. This feature requires that each agent have a seperate directory, as it means that the same build could be run simultaneously on different agents, resulting in issues around duplicate files etc...

Fix was to turn off the Concurrent build feature, which resulted in all of the local agents again using the same working directory.

0 votes

Do you mean the local agents? If you disable concurrent builds, they should still use the same working directory.

Not just local agents, includes all agents running on the same machine. For example, if "buildmachine3" has 3 agents on it, they should all have the same working directory on that machine. Local agents should share the same working directory on the host machine as well.

From my understanding disabling concurrent builds, would still mean that each agent was using a seperate directory, though they wouldn't be running the builds at the same time. This would still not resolve the issue with the increase in the amount of disk space used.

Suggest an answer

Log in or Sign up to answer
Community showcase
Asked Thursday in Jira Ops

I'm John Allspaw, Ask Me Anything about incident analysis and postmortems

I'm John Allspaw, co-founder of   Adaptive Capacity Labs, where we help teams use their incidents to learn and improve. We bring research-driven methods and approaches to drive effective inciden...

4,689 views 20 14
View question

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