Hi can someone explain why is the
Temporary directory C:\Atlassian-bamboo\Bamboo\temp grown to about 180GB ?
And how safe is it to delete it completely currently finding mixed opinion on the case...
Hello @Nikola_Toshkov
Welcome to Atlassian Community!
Large temporary directories are a symptom of builds running in local agents, which may be using the temporary folder to store data that is not being removed after builds are finished.
It is usually safe to stop the application and clean up that folder, but be mindful that your builds may require content that is present in that location and force that to be recreated, which may impose a slowdown on your pipelines.
Cheers,
Eduardo Alvarenga
Atlassian Support APAC
--please don't forget to Accept the answer if the reply is helpful--
Honestly very green at this, is there something i can ask the developers to add to their plans to clean up after their builds, or something i can change in the bamboo configuration ?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Nikola,
Welcome to Atlassian Community.
Bamboo places some temporary files in this location for example during the source code checkout task it will create a temporary .bat or .sh file and it would be removed post the task completion.
Ideally this location should not contain files amounting to 180 GB, in my opinion you can cleanup this directory, but make sure you have stopped your Bamboo Instance while you are doing it.
BTW have you looked at the content of these files and when were these created/modified?
There was a feature request raised to clean this up automatically but it was never implemented, https://jira.atlassian.com/browse/BAM-8521
Regards,
Shashank Kumar
**please don't forget to Accept the answer if your query was answered**
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi yes most of them are ~18mb, folders named "binary-number" -> binary with a folder plugins with few .jar from pluings xray and jira and allure reports?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Nikola,
This is coming from the External plugin Installed in your Bamboo Instance, https://marketplace.atlassian.com/apps/1217177/allure-report-for-bamboo?tab=overview&hosting=datacenter.
Probably you'll need to check the settings for this plugin and check why the files are being generate in /tmp location and can it be changed.
Regards,
Shashank kumar
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
A little digging turns out it has about 150k folders ~17mb containing plugins .jar not just allure, still looking around at the settings what is causing it :
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.