title: Checking specific folders when git on Jenkins
body: <p>I am using Jenkins / Git to check out a Grails project.
  The Grails project is in a sub directory for the Git project I check out. </p>
  
  <p>So that when Git does the checkout, I end up with</p>
  
  <pre><code>.jenkins/jobs/my_jenkins_job/workspace/git_base_dir/grails_project_dir/grails_files
  </code></pre>
  
  <p>on my filesystem</p>
  
  <p>I want:</p>
  
  <pre><code>.jenkins/jobs/my_jenkins_job/workspace/grails_files
  </code></pre>
  
  <p>Now I could run a shell to move files around but I prefer a cleaner way.</p>
  
  <p>In the branch specifier on Jenkins I have tried:</p>
  
  <pre><code>develop/grails_project_dir/grails_files
  </code></pre>
  
  <p>But this just gives:</p>
  
  <pre><code>ERROR: Couldn't find any revision to build. Verify the repository and branch configuration for this job.
  </code></pre>
  
  <p>Is there any way I can get the git plugin to just check out specific folders in a git project?</p>
  
  <p>Thanks</p>