0

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?

2 comments

Please sign in to leave a comment.