We are using Bamboo 8.1.12 with several build plans with global expiry configuration and also custom plan specific expiry configurations, which should delete the Buids, Artifacts and logs. The build plans are running on several Agents.
On the Server, there are several artifacts left on disk, where no build is available anymore in the bamboo plans.
Artifacts are stored on the bamboo server in file structure "bamboo-home\shared\artifacts\plan-xxxxxx".
I could see for some plans it's working (only the configured plans and Artifacts are left) but for other plans not.
What could be the reason the expiry is not working for all plans, despite expiry is configured?
Can the plan/artifact folders manually be deleted on disk, for which no plans/builds are available anymore?
Hello Andreas,
Welcome to Atlassian community.
If a plan is deleted and it's artifact is not used in any of the Deployments then that Artifacts are safe to be deleted from the shared location.
If the plan is delete and the artifacts were used in the Deployment then these artifacts would be present in <bambo-home>shared>artifact>globalStoarge folder.
From what you have shared, these artifacts can be safely deleted, if their plans don't exist in the UI.
You can follow the steps defined at https://support.atlassian.com/bamboo/kb/disk-space-hotspots-and-cleanup-best-practices-in-bamboo/ to better clean these up.
Regards,
Shashank kumar
**please don't forget to Accept the answer if your query was answered**
Hello Shashank Kumar,
there is no globalStoarge folder present, so I assumed the Artifacts were not used for deployment and I deleted the folders.
Thanks for your support.
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.