How to clean previous records of build running? Follow
I have a teamcity server setup and had several build run for test purpose. How could I remove the record of previous build # permanately? I wish to start production mode TC with no old data.Seems no UI way exists.
Please let me know how to do this. I am using internal DB which embedded with TC.
Thanks
Raymond
Please sign in to leave a comment.
Ramond,
Unfortunately, you can not delete single build record using TeamCity Web UI. However, you can use Copy Configuration feature. It will duplicate parameters and settings of the original build configuration, but no build-related data will be preserved. Then you can delete your original build configuration with its build history, artifacts, etc.
Is there a way to clean previous builds via sql commands?
Thanks
Scott
Administration->Build History Clean-Up might be what you're looking for.
Essentially, I want to be able to pick and choose which builds I want cleaned-up...It is not easy to do that with the current cleanup policies.
By the way, I'm using TC 4.5.4
SH
You might want to vote for http://youtrack.jetbrains.net/issue/TW-287.