This Question is Not Answered

1 "correct" answer available (4 pts) 2 "helpful" answers available (2 pts)
2 Replies Last post: Sep 19, 2013 11:14 AM by Anders Schau Knatten  
Anders Schau Knatten Newbie 16 posts since
May 4, 2013
Currently Being Moderated

Sep 16, 2013 12:28 PM

Manual cleanup of artifacts

We are saving a lot of artifacts for loads of projects. Instead of automatically cleaning them up after a certain time or number of builds, we would like to delete them manually at a certain stage in the project.


What is the best way to manually do this?

  • I could of course go into system\artifacts\project and delete the artifacts, but then TeamCity won't know that they are deleted, and the artifacts will still show up in the configuration history.
  • Another option is to go to "Administration -> Build History Clean-up -> Manage clean-up rules", change the "clean artifacts" rules for the project, trigger a clean-up, and then change the "clean artifacts" rules back to the original setting.

Is there any easier way of doing this?

Zdenek Gabas Newbie 44 posts since
Aug 15, 2013
Currently Being Moderated
Sep 18, 2013 5:17 PM in response to: Anders Schau Knatten
Re: Manual cleanup of artifacts

Hello Anders,


there is no other way to perform clean up, actually your fisrt option is not recommended. But what might help you is the ability to pin builds so that way to prevent them to be cleaned up. Also note that dependend builds are automatically pinned.





More Like This

  • Retrieving data ...