Help - how to cleanup the server

I have the following problem:
in our configuration there are new branches used all the time, and each one uses up to 7gb space on disk.
So, naturally, this must be cleaned up from time to time.
As I understand it, there is no way to let TeamCity clean the data on disk from deleted projects automatically - or do I miss something?

Now, before EAP3.0 I could at least do the following:
- look at the .buildServer directory for active (existing, not-deleted) projects
- delete all directories on the build machines that are no longer listed in the above directory

since EAP3.0 the build directories are cryptic numbers which I cannot easily map to a project. only by looking into the build output I can do it. But how to do this with a deleted project?

Any help would be highly appreciated...

2 comments

Michael Damberger wrote:

I have the following problem:
in our configuration there are new branches used all the time, and each one uses up to 7gb space on disk.
So, naturally, this must be cleaned up from time to time.
As I understand it, there is no way to let TeamCity clean the data on disk from deleted projects automatically - or do I miss something?

Now, before EAP3.0 I could at least do the following:
- look at the .buildServer directory for active (existing, not-deleted) projects
- delete all directories on the build machines that are no longer listed in the above directory

since EAP3.0 the build directories are cryptic numbers which I cannot easily map to a project. only by looking into the build output I can do it. But how to do this with a deleted project?

Any help would be highly appreciated...


Check out BuildAgent\work\directory.map

--
Alexey Gopachenko
JetBrains Inc.
http://www.intellij.com
"Develop with pleasure!"

0

Please sign in to leave a comment.