"clean" teamcity

Answered

Is there any way of easily cleaning up TeamCity? 

I have a load of failed builds all over the place from testing/development and would like to basically press "reset" and see all of this stuff wiped out in one go.  I don't need to see it, it wouldn't matter to me if it reset the build counters either.  I'd just like to clean out all my historical dev cruft.  Wiping artefacts also wouldn't matter.

I can't seem to find a magic "reset" button.

0
2 comments
Avatar
Fedor Rumyantsev

Hello Adrian,

TeamCity allows to set up clean-up rules to define for how long the builds are retained; you may have different retention times for the artifacts, build metadata and the builds themselves. To remove all of the existing builds, you could set up a keep rule on the Root project level defined as following (and disable existing default rules):


and then, at Administration | Server Administration | Clean-up Settings you could use "Start clean-up now" option. As a result, all existing builds should be removed; after that you could revert the rule, or reconfigure it as you see fit.

0

Once again, many thanks for your reply!  I will take a look and have a play and see where I get.

0

Please sign in to leave a comment.