Setting up VCS Labeling
I am attempting to get VCS Labeling to work and am having some difficulty. I have set up the Label rule on the Version Control Settings under the VCS Root under Labeling rules with subversion. I am attempting to manually label a build and when it fails it complains about the checkout rules, not sure what to do to fix this.
Failed: Failed to set label 'test-1.0.0.77': No labeling rules found for checkout rules AuctionWebsiteDB/trunk=>
The current rule that is on the VCS is
+:/%VcsFolder%/trunk => +:/%VcsFolder%/tags
with VcsFolder is a parameter that defines the project name, in this case its value is AuctionWebsiteDB
The checkout rule is setup as the following:
+:/AuctionWebsiteDB/trunk=> .
Any help in this setup would be appreciated.
Please sign in to leave a comment.
Kyle,
What is the TeamCity version in use and what is the URL configured in the VCS root?
The VCS labeling rule is a bit incorrect, instead of
+:/%VcsFolder%/trunk => +:/%VcsFolder%/tags
it should be
+:/%VcsFolder%/trunk => /%VcsFolder%/tags
(no plus in the right-hand side)
I would also try it without leading slash (this will use relative path to the VCS root instead of absolute path in the Subversion repository)
+:%VcsFolder%/trunk => %VcsFolder%/tags\
> The checkout rule is setup as the following:
> +:/AuctionWebsiteDB/trunk=> .
It is probbaly not so important, but it should rather be
+:AuctionWebsiteDB/trunk=>.