Labeling Subversion TeamCity

I am trying to designate an assembly consisting of several checks, such as:

+ Root
+ -trunk
+ - Folder1
+ - Folder2
+ -Tags
+ - ProjectA
+ --- Build-123
+ ---- Folder1
+ ---- Folder2

where 123 in Build-123 is the build number.

I am trying to achieve this using the following labeling rules:

/ Root / trunk / Folder1 => / Root / tags / ProjectA
/ Root / trunk / Folder2 => / Root / tags / ProjectA

And this labeling pattern:

Build-% system.build.number%

I was hoping TeamCity would create a BUILD-123 tag and copy the contents of Folder1 and Folder2 into it. However, I get the following error:

"BUILD-123": Svn: "Root/trunk/Folder1", "Root/trunk/Folder2" "Root/tags/ProjectA/CO-BUILD" -123

TeamCity 5 Subversion 1.6

+3
3

, -, SVN. , , - SVN , (mkdir), svnCopy .

0

TeamCity :

, ,

/Root/trunk=>/Root/Tags/ProjectA

/trunk=>/Tags/ProjectA

, .

0

, ,

trunk => tags       # the trunk contains the root of my project
branches/*/ => tags # a branch usually contains the a copy of the root of the project
tags/*/ => tags     # a tag usually contains the a copy of the root of the project

(re) . , TeamCity

0

Source: https://habr.com/ru/post/1726903/


All Articles