Help with cleanup rules please

Hi there,

I've been playing around with cleanup rules and I can't quite get it to work the way I expect. Would someone be able to provide advice for my issue please?

Basically, I want to delete everything after 14 days on any project EXCEPT, I want to keep everything for 90 days if their VCS branch name pattern is either `refs/heads/release/*` or `refs/heads/review/*`. Attached is a screenshot of how I have set it up, but the release and review builds continue to be deleted.

 

Thanks in advance for any advice, and have a great day!

0
1 comment
Hi,

To filter branches, use a newline-delimited list of `+|-:logical_branch_name` rules, where `logical_branch_name` is the name displayed in the TeamCity UI (for example, `master`). The name is case-sensitive.

In your case, try using just release/* and review/* as the branch patterns.

Best Regards,
Tom
0

Please sign in to leave a comment.