Version Control Settings
Installed version of TeamCity 2017.2.2 (build 50909).
In the Version Control Settings section attach VCS root, where I need to exclude downloading some folders from being unloaded from the SVN path. I use the setting:
-: foo / bar / version / 1.0
-: foo / bar / version / 2.0
-: foo / bar / version / 3.0
+: foo / bar / version => new / foo / bar / version
When starting build, from SVN the entire folder foo / bar / version is downloaded, including folders 1.0, 2.0, 3.0. Is it possible to exclude these folders from unloading from SVN? Option with explicit inclusion of folders for downloading does not fit
Please sign in to leave a comment.
Hi Sergey,
I'm assuming you are using the "Checkout Rules" feature. Excluding a set of subfolders and then including the folder should only download the folders which weren't excluded, as detailed at the end of the article here: https://confluence.jetbrains.com/display/TCD10/VCS+Checkout+Rules
Under some VCS types, the files will still be downloaded but the agent should still delete them afterwards so they shouldn't be available for the build (this is due to the limitations of how the vcs works)
If with all this in mind, it still leaves the files where they shouldn't be, make sure you don't have any typo on the rules, and if it still doesn't, send us an issue to our tracker here: https://youtrack.jetbrains.com/issues/TW
I'd recommend adding screenshots of the actual checkout configuration to the issue in the tracker to understand what is going on. You can set the ticket or the attachments to just be shared with us if they contain information you wouldn't like to share publicly.