Build History Cleanup Policy by Branch?

We use the git flow development model and have TeamCity building our git repos for all branches (master, develop and feature branches).  Is there a way to configure a build history cleanup by branch?  We would like to keep all artifacts from master, but cleanup transient feature branch artifacts.  It seems that the build history cleanup policy applies to all branches of a particular project.

I understand that builds could be pinned to keep them around.  Is it possible to automatically pin all master branch builds?  This could potentially ahieve our goal.

Comment actions Permalink

Is it possible to automatically pin all master branch builds?

It should be possible after a build is finished. See my very similar question
Comment actions Permalink


We've already have a request for it - Please vote.
There is a workaround described in comment.


Please sign in to leave a comment.