Dennis Nerush
Dennis Nerush

Reputation: 5663

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?

Upvotes: 5

Views: 5996

Answers (1)

Boris Modylevsky
Boris Modylevsky

Reputation: 3099

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

Upvotes: 2

Related Questions