You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
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.