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

This widget could not be displayed.

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

This widget could not be displayed.

Yes, you can.

This widget could not be displayed.

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. 

This widget could not be displayed.
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
Community showcase
Posted yesterday in Jira

Atlassian Research Workshop opportunity on Sep. 28th in Austin, TX

We're looking for participants for a workshop at Atlassian! We need Jira admins who have interesting custom workflows, issue views, or boards. Think you have a story to sha...

41 views 2 2
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