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
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.
I'm happy to announce that Bamboo 7.1 has been released and it’s overflowing with awesome new features. Top-voted issues First and foremost, a bunch of JAC top voted issues has been delivered - y...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events