-
Suggestion
-
Resolution: Unresolved
-
None
-
None
-
0
-
2
-
Problem Definition
If Repository Isolation is enabled, each local agents will have individual m2 cache directory:
$BAMBOO_HOME/.m2/AGENT-${bamboo.agentId}
However, the total disk space used will be a lot.
Suggested Solution
It would be great if Bamboo can monitor the disk usage and updated date of the m2 cache and have the option to select and delete a specific cache directory, just like the Git cache
Why this is important
To reduce the disk space usage
I've setup the plugin and run some build plan.
It seems it only cleans the snapshots from the bamboo's user home repository (i.e. Deleting 0 snapshot folders from /atlassianapp/.m2/repository) but not the agent isolation's one (i.e. /atlassiandata/bamboo/.m2/AGENT-104103937/repository).
So it's actually a good plugin, but useless in case of agent isolation.