I am using TeamCity 6.5.1 and i working as admin for the TeamCity. I have given access to this teamcity server to 20 different project teams. These project teams are running the build and producing build artifacts on my server and frquently they pin the builds. I can not delete pinned build history through cleanup script and since there are too many project (many more are expected to join) this is causing my database (external DB being used) size increase a lot. I can not devote resource to maually search for older pinned builds to unpin and then delete.
Hence am looking for a way to automate the process to remove the older builds even when they are pinned.
Can you please suggest how can I do this. Is there any recommended procedure to clean up such old pinned builds.