I'm trying to create flexible Teamcity build configuration for my project.
First, I create svn VCS root from:
svn://mycompany.com/myproject
This repository contains of these folders:
- /trunk
- /versions/1.1
- /tags/...
Then, I configure checkout rules as:
+: %checkoutRule% => .
This means that agent will checkout sources from parameter, defined by user who triggers build. %checkoutRules% can has value of "trunk" to build from trunk or "versions/1.1" to build from version 1.1 branch.
At last, I configure labeling as %checkoutRule% => tags, which means, that every build should create tag.
So, my problem is that when I trigger build for "trunk", tag is created, but when I trigger build from version/1.1, tag is not created. Build from version/1.1 has additional label:
Branch: versions/2.1:: versions/2.1
Need help, how can I avoid these problem?