SVN Labelling not working : Include rules with empty left part are not allowed in labeling rules

I am getting an error setting up the labelling on my team city build.  

Failed: Failed to set label '1.4.0.215': Include rules with empty left part are not allowed in labeling rules

Following are the details of my setup.

Tag path
https://svn.test.tool.net/profile/personal/tags/service_components/trunk

Project path
https://svn.test.tool.net/profile/personal/trunk/sub/service_components
https://svn.test.tool.net/profile/personal/trunk/sub/client

VCS Root
https://svn.test.tool.net/profile/personal/trunk/sub

Labelling rules
/service_components=>/../../tags/service_components/trunk
/client=>/../../tags/client/trunk

NOTE the tag path is at above the VCS root hence relative path using /../ syntax

1 comment
Comment actions Permalink

Hello,

could you please provide moreinformation
- version of the TeamCity
- what checkout rules do you use
- attach please teamcity-vcs.log from TeamCity/logs directory.

If you use labeling rules and your rule starts with "/" (ie. /service_components=>) it means that this path starts relative to SVN root but not the VCS root you specified in the TeamCity, it will be relative to TC VCS root if you leave out "/" (i.e. service_components=>).
As for the right side of the labeling rules, it is not supported to use paths like /../../ where you reffer to paths outside the repository root...

regards

Zdenek

0

Please sign in to leave a comment.