Git cache removal in Bamboo

Still need help?

The Atlassian Community is here for you.

Ask the community

Symptoms

The directory <BAMBOO_HOME>/xml-data/build-dir/_git-repositories-cache tends to get quite large, consuming a lot of disk space.

Workaround

Remove the cache manually. To do so:

  1. Shut down the Bamboo instance;
  2. Delete the <BAMBOO_HOME>/xml-data/build-dir/_git-repositories-cache directory;
  3. Restart the Bamboo instance.

For Bamboo versions after 4.4.3, there are settings under Administration > Build Resources > Repository Settings to configure the removal of these files.

(info) In the latest Bamboo versions (5.x) there is a user interface feature (Overview > Repository Settings) that allows you to clean the Git cache without requiring a shut down of the application. 

Last modified on Apr 8, 2016

Was this helpful?

Yes
No
Provide feedback about this article
Powered by Confluence and Scroll Viewport.