title: How do I exclude folders from a fortify sca jenkins build?
body: <p>In my jenkinsbuild I have a Maven(v3.1.0) project with a Fortify SCA plugin. I'm searching for the command to exclude a folder from the sca test and the place this command belongs. The Java project to test will be loaded from a GIT repository.</p>
  
  <p>My commands(working):</p>
  
  <p>(Build)</p>
  
  <pre><code>clean -Dfortify.sca.buildId=${JOB_NAME} sca:clean -Dmaven.test.skip=true install -Dfortify.sca.buildId=${JOB_NAME} sca:translate
  </code></pre>
  
  <p>(Post-Build)</p>
  
  <pre><code>-Dfortify.sca.Xmx=4G
  -Dfortify.sca.Xms=2G
  -Dfortify.sca.Xss=100M
  -Dfortify.sca.PermGen=1G
  -Dfortify.sca.64bit=true
  -Dfortify.sca.verbose=true
  -Dfortify.sca.debug=false
  -Dfortify.sca.buildId=${JOB_NAME}
  -Dfortify.sca.toplevel.artifactId=test
  -Dfortify.sca.scan.failOnError=true
  -Dfortify.sca.upload=false
  -Dfortify.sca.upload.failOnError=true
  -Dfortify.f360.url=${SSC_URL}
  -Dfortify.f360.authToken=${SSC_AUTH_TOKEN}
  -Dfortify.f360.projectName=${JOB_NAME}
  -Dfortify.f360.projectVersion=current
  sca:scan
  </code></pre>