Labelling not working
Hi Team.
New to setting up Teamcity.
Have got a repository in subverison, and we are checking out ok. When I put the labelling rules on, it cannot seem to execute them. I have been getting a few peculiar errors:
[2011-07-27 14:35:48,134] INFO [0-8 /ajax.html ] - jetbrains.buildServer.VCS.SVN - Labeling http://svng.xxx.com/SVG/repos/SPW with rule trunk/SPW/trunk:428_2011/07/27 14:22:09 -0400=>trunk/SPW/tags/TeamCityBuild-219
[2011-07-27 14:35:48,244] WARN [0-8 /ajax.html ] - jetbrains.buildServer.VCS - Failed to set label 'TeamCityBuild-219'
jetbrains.buildServer.vcs.VcsException: Labeling the path 'trunk/SPW/trunk' to 'trunk/SPW/tags/TeamCityBuild-219' has failed with the error: svn: Path trunk does not exist in revision 428
[2011-07-28 14:50:11,828] INFO [0-1 /ajax.html ] - jetbrains.buildServer.VCS - Labeling VCS root svn: http://svng.xxx.com/SVG/repos/SPW/trunk {instance id=7, parent id=1}@454_2011/07/28 10:51:26 -0400 for build PHS_Generic_Main :: PHSTestBuild 138 on nykdsm020001218. Started Thu Jul 28 10:57:24 EDT 2011, finished Thu Jul 28 10:57:44 EDT 2011. Status NORMAL Success
[2011-07-28 14:50:11,921] WARN [0-1 /ajax.html ] - jetbrains.buildServer.VCS - Failed to set label 'TeamCityBuild-237'
jetbrains.buildServer.vcs.VcsException: Include rules with empty left part are not allowed in labeling rules
[2011-07-28 18:16:43,934] INFO [0-4 /ajax.html ] - jetbrains.buildServer.VCS - Labeling VCS root svn: http://svng.xxx.com/SVG/repos/SPW/trunk {instance id=14, parent id=1}@463_2011/07/28 16:57:19 -0400 for build PHS_Generic_Main :: PHSTestBuild 142 on nykdsm020001218. Started Thu Jul 28 17:03:20 EDT 2011, finished Thu Jul 28 17:03:42 EDT 2011. Status NORMAL Success
[2011-07-28 18:16:43,981] WARN [0-4 /ajax.html ] - jetbrains.buildServer.VCS - Failed to set label 'TeamCityBuild-241'
jetbrains.buildServer.vcs.VcsException: No labeling rules found for checkout rules =>
at jetbrains.buildServer.buildTriggers.vcs.svn.SvnSupport.label(SvnSupport.java:409)
As you can see I have tried a few different things, but to no avail. Any help in resolving this will be much appreciated.
Many thanks in advance.
Please sign in to leave a comment.
Hello,
Please specify what is your:
- SVN repository root (use svn info command to get it)
- VCS root path
- Labeling rules
And where do you expect your tags to be placed.
Regards,
KIR
Thanks - but this got resolved as per our email.
I was not using a space in the labelling rules. It should have been: /trunk => /tags, I had: /trunk=>/tags.
Perhaps something for you guys to clarify in the documentation going forward.