Question

I'm using TeamCity 7.5. There is a temp directory under c:\TeamCity with some temp files that TeamCity generates. The files are really small (450 kb) however after several months the directory becomes huge (30+ GB)!

Is there a way to make TeamCity delete the temporary files by itself?

Was it helpful?

Solution

Try to add "Build files cleaner (Swabra)" build feature. It cleans up agent's working directory if there is not enough disk space. It also cleans up other workspaces on the agent if necessary.

enter image description here

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top