title: How to in Jenkins exclude certain folder from build
body: <p>I use Jenkins to deploy builds from git to server. But, I have 2 folder with same names in different places in build folder tree. How to exclude from build one of folder. Example:</p>
  
  <pre><code>..
  /app
  /backups
  /resources
           |
           +--/views
                  |
                  +--/vendor (include)
  /vendor (exclude)
  </code></pre>