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.

2 comments
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 http://devnet.jetbrains.com/thread/454916?tstart=30
0
Comment actions Permalink

Hi,

We've already have a request for it - http://youtrack.jetbrains.com/issue/TW-35914. Please vote.
There is a workaround described in comment.

0

Please sign in to leave a comment.