What is the git repository cache used for on the bamboo server?

We have the "Default agent" turned off - we only use remote agents. However, the git repository cache on the bamboo server is populated. I'm curious to know if I can delete these caches without affecting our builds. 

4 answers

1 vote

Bamboo checkouts repositories to detect commits and trigger builds, to get list of branches and create/remove plan branches. You can cleanup these caches in case of any issues, Bamboo will create them again when necessary

0 vote

Yes, you can.

Is Alexey's answer correct? Does Bamboo really do full checkouts just to figure out when to trigger builds? That seems incredibly heavy-handed.

I'd like confirmation on this, if possible - ultimately I'd like to know if I can avoid the server making these checkouts at all if we're not using the Default server agent. 

0 vote
Bruno Rosa Atlassian Team Sep 22, 2016

Hi Sam, yes Alexey is right. I'm afraid you won't be able to prevent Bamboo from checking out the repository even if you're not using local agents, Bamboo was designed to work like this as it needs the cache to detect commits, trigger builds and get a list of branches. The answer to your original question would be yes, you can remove the cache without affecting your builds, but Bamboo will automatically create them again when necessary.

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published May 18, 2017 in Bamboo

FAQ: How to Upgrade Bamboo Server

Bamboo 5.9 will no longer be supported after June 12, 2017. What does this mean? As part of our End of Life policy, Atlassian supports major versions for two years after the first major iteratio...

1,813 views 0 6
Read article

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