Control checkout directory per VCS root

I need to have a build configuration that has multiple VCS roots (2 in this case) that will each checkout do a directory spereate from each other vs the merged location that happens by default.

Is it possible to set a custom checkout directory that could use a variable like %teamcity.build.vcs.root_name%?

That way each VCS root would checkout into a known directory separate from each other.

0
1 comment
Hi,

Checkout happens in one directory, and there is no variable representing the VCS root name or ID available for use in the Custom Checkout Directory field.
However, you can easily set the checkout of these two VCS roots in different subdirectories of the checkout directory using the checkout rules for each VCS root: https://www.jetbrains.com/help/teamcity/vcs-checkout-rules.html

Best regards,
Anton
0

Please sign in to leave a comment.