Exclude all but 1 subdirectory from the Teamcity validation rule

I have a VCS root with the following validation rules:

+:. -:externals +:externals/jQuery 

However, TeamCity does not check for the externals/jQuery directory. In any case, to achieve this, with the exception of creating a separate VCS root for this directory? I am using the latest EAP for TeamCity 8.0.

Update (2017)

Since TeamCity 10 seems like you can do what this question asked

 +:**/* => target_directory -:**/folder1 => target_directory 
+7
source share
1 answer

If you want to check only the externals / jquery directory and nothing else, add this to your design conditions.

 +:externals/jQuery -> jQueryDir(custom name) 

or

 +:externals/jQuery -> . 
+1
source

All Articles