This Question is Possibly Answered

1 "correct" answer available (4 pts) 2 "helpful" answers available (2 pts)
1 Replies Last post: Mar 28, 2014 3:39 PM by Yegor Yarko  
Kyle Jones Newbie 5 posts since
Jul 23, 2013
Currently Being Moderated

Mar 20, 2014 6:00 PM

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.

Yegor Yarko JetBrains 1,837 posts since
May 5, 2004
Currently Being Moderated
Mar 28, 2014 3:39 PM in response to: Kyle Jones
Re: Setting up VCS Labeling

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=>.

More Like This

  • Retrieving data ...