Build history cleanup

As TeamCity continues to build our projects, the amount of disk space utilized by it keeps increasing. The artifacts, in particular, take up a lot of disk space. While disk space has become a lot cheaper these days, it is still not practical to let the disk usage keep increasing forever.

TeamCity has a very powerful cleanup feature that can be used to control how build history and artifacts are cleaned on the server. The cleanup is either run periodically or triggered manually. It can be configured for the server as a whole, while also overriding the settings, as needed, for individual projects and build configurations.

The Build history clean-up section can be reached from Administration | Build history clean-up (located in ...

Get Learning Continuous Integration with TeamCity now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.