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
Next: Root
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 Community can help you and your team get more value out of Atlassian products and practices.
Hi
Bamboo remote agents do not cleanup after themselves, no matter what cleanup jobs are enabled on the bamboo server. The directory
\xml-data\build-dir
just keeps growing until someone manually deletes old files.
What settings are required for bamboo to cleanup on the remote agents, the same way it does on the server itself? I found some very old feature requests and answers but I don't believe they are representing the current state.
Thanks
Hello @SG
To clean up the build folder after each build you can:
Or, if you prefer cleaning the build folder before each build:
Or you can even set both, just in case.
Kind regards,
Eduardo Alvarenga
Atlassian Support APAC
--please don't forget to Accept the answer if the reply is helpful--
Hello Eduardo
Thanks, but shouldn't this data be cleaned up according to the expiry plan? We build on the bamboo server itself and on a remote agent and this build-up of data only happens on the remote agent. I would prefer setting a global expiry instead of adjusting each build plan.
Kind Regards
SG
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello @SG
Build expiry will only purge artifacts and logs created by Bamboo during the build.
Other files that are created as part of the build process are not controlled by Bamboo and are left in their locations so developers can investigate issues if necessary. This is by design.
Regards,
Eduardo Alvarenga
Atlassian Support APAC
--please don't forget to Accept the answer if the reply is helpful--
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.
There is a setting you can enable in each build to clean the directory after the build. It's called something like: "clean working directory after build"
I do not have access to a Bamboo instance myselfy immediately but that's how I did it for years.
An alternatvive is to schedule a cronjob at times where you're sure nothing will be running.
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.