Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

TeamCity doesn't delete files from 'temp' directory

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?

like image 673
Dennis Nerush Avatar asked Nov 11 '22 12:11

Dennis Nerush


1 Answers

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

like image 150
Boris Modylevsky Avatar answered Dec 31 '22 18:12

Boris Modylevsky