0
votes

I have in main branche two folders Apps and Assets and in Teamcity configuration selector is:

repository "[email protected]:8887"
path "/Apps"
branch "/main"
checkout "/main"

Why not acceptable path "/Apps" command? Still me downloaded all files in work direcotry.

1

1 Answers

0
votes

You need to use the TeamCity VCS checkout rules:

VCS Checkout Rules allow you to check out a part of the VCS root configured and to map directories from the version control to subdirectories in the build checkout directory on a Build Agent. Thus, you can define a VCS root for the entire repository and make each build configuration checkout only the relevant part of it.

You cannot configure this behavior editing the selector. You can direclty copy the selector from the Plastic SCM GUI --> "Items" view --> right-click --> set selector.