The Atlassian/BambooHome/artifacts directory on our Bamboo server has grown very large.
I have done some research and can see that you can use the global expiry functionality to automatically clear it down.
However I am unsure exactly how it works , we mostly use remote agents however it seems all the build artifacts are being written to the server.
I have seen a few posts about this but I cant find any that specifically answer my questions below:
1.Will configuring the global expiry settings remove old files from the server or will it remove them from wherever the remote agent is hosted?
2.Is there a reason that this data is being written to the server when these a remote agents?
3.What is the consequence of deleting the files in this directory?
Bamboo version 5.15.5
Hi Chantelle,
Yes, the expiry functionality is the safest way to keep disk usage under control.
I'll try to answer your questions:
1. Will configuring the global expiry settings remove old files from the server or will it remove them from wherever the remote agent is hosted?
It will remove the files from the Bamboo server only, more specifically from the bamboo-home/xml-data/builds and bamboo-home/artifacts folders.
Please see: Locating important directories and files
2. Is there a reason that this data is being written to the server when these a remote agents?
Because the files need to be available even if the agents are not online, on more recent bamboo versions, you can change where the artifacts will be stored but, Bamboo will keep transferring build logs and results to the server.
3. What is the consequence of deleting the files in this directory?
The only consequence will be that old builds (logs, build results and artifacts) will not be available in Bamboo anymore, that's the reason why is recommended to have a very clear company-wide policy defining how long the results will be kept.
Let me know if this answered your questions.
cheers.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.