title: How Do I set a Teamcity Trigger on a Particular Folder for Git VCS trigger
body: <p>I would like Teamcity to Trigger a build when there is a gerrit change on a specific branch on a specific folder. I'm unable to achieve the same, any suggestions from all you experienced users out there is greatly appreciated.</p>
  
  <p>Following is how my Structure looks like, I want the build to be triggered of both the Branch dev &amp; Staging, any change under New/Folder/My_Content only and not on any other foder , file content</p>
  
  <pre><code> - Branch dev
    --Repo
       * New/Folder/My_Content
       * Folder 2
       * Folder 3
       * File1.txt
       * File1.html
       * File1.log
  
   - Branch Staging
    --Repo
       * New/Folder/My_Content
       * Folder 2
       * Folder 3
       * File1.txt
       * File1.html
       * File1.log
  </code></pre>
  
  <p>This is what I have tried</p>
  
  <pre><code>VCS root name: my_root 
  
  set on branches 
  
  +:refs/(changes/*)
  +:refs/heads/dev
  +:refs/heads/Staging
  
  VCS Trigger rules:
  +:root=my_root:New/Folder/My_Content/**
  Branch filter:
  +:changes/*
  </code></pre>
  
  <p>The above rules always trigger builds on everything, on all the folders apart from the one I need.</p>
  
  <p>And the second question I had was, Can I use parameters in the VCS Trigger rules.
  Something as follows.</p>
  
  <pre><code>VCS Trigger rules:
  +:root=my_root:New/Folder/%my_var%/**
  Branch filter:
  +:changes/*
  </code></pre>