We found recently that our Bamboo installation was reaching the limits of it's disk space.
I have build expiry running nightly (keep builds for 1 week, minimum of 6), and this seems to clear up a few GB when run, but however this extra space disappeared very quickly after a few builds had been run. In practice, build expiry was running nightly, and any space that had been recovered was lost again by the morning.
On further investigation I found that the D: bamboo-home xml-data build-dir directory was massive (~20GB) and it wasn't being reduced when build expiry ran. I copied this directory elsewhere, and confirmed that Bamboo was functioning correctly without it, and am planning on deleting these files.
Is it safe for me to be deleting the D: bamboo-home xml-data build-dir directory?
Is there some in-built job in Bamboo that can manage the size of this? Some cleanup tool?
Can you navigate to the miscellaneous tab of your job configurations and check the option Clean working directory after each build. This will clear the local copy of the repository available at<tt>D:\bamboo-home\xml-data\build-dir</tt> before each build. Please note that this may increase the time taken to run a build but will save space
> you lose any ability to properly troubleshoot a failed build
Agreed. Is there not an open feature request already to resolve this? If not I'll file a support ticket.
It should be as simple as removing working directories older than N days, or keeping the last N working directories for a given plan.
Atlassian Summit is an excellent opportunity for in-person support, training, and networking.Learn more
...there's anything I've learnt from working, it's that people are lazy! No offense to anyone reading this, but it's true and we can all admit it. The easier you make something for someone, the more...
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!
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