title: Build a project from sub-directory of Bitbucket repository in Jenkins
body: <p>Is it possible to build a project inside sub-directory of Bitbucket repository in Jenkins? I have been trying and testing Jenkins build from sub-directory of Bitbucket respository instead building everything from master branch because I do not want to put load on servers just for the testing purpose. I would like to know if it is possible and how it can be done. For instance, I would like to build only a project from sub directory 2 of Bitbucket repository as shown below. Please help with the diagram if possible. Thanks.</p>
  
  <pre><code>*/master
   - Directory 1
      - sub directory 1
            - pom.xml
          - **sub directory 2
                 - pom.xml**
  
   - Directory 2
      - sub directory A
           -  subdirectory B
                 - pom.xml  
  </code></pre>