TeamCity - SVN and Labeling

I am going to start using the TC (Great product :)) marking function and ask a question:

I have 1 VCS root: svn: \ someserver \ MyRepo

With label rule: trunk => tags

And in all my projects, I use the statement rules to check only the necessary projects:

Prj1 - Conf1: +: MyPrj1 / trunk => /

Prj2 - Conf1: +: MyPrj2 / trunk => /

Prj3 - Conf1: +: MyPrjCollection / MySubPrj1 / trunk => /

... you will get an image

What happens if I set an automatic label for each successful build on ex. Prj1 - Conf1?

and. Will my trunk just be tagged in MyPrj1 / tags / LabelName, as I hope?

Q. Or will the entire VCS root (MyRepo \ tags \ Label) be tagged or is something even worse?

Can someone help me? :)

Regards Garrett

+5
source share
1 answer

If I read VCS Labeling (TC6) correctly , labeling rules are indicated as new line-separated rules using the following format:

TrunkOrBranchRepositoryPath => tagDirectoryRepositoryPath

So, instead of having a common label rule trunk=>tags, why not have labeling rules such as:

/MyPrj1/trunk=>/MyPrj1/tags
/MyPrj2/trunk=>/MyPrj2/tags
/MyPrjCollection/MySubPrj1/trunk=>/MyPrjCollection/MySubPrj1/tags

Thus, you would be sure of the resulting tree structure.

+2
source

All Articles