title: Control parameters for the Jenkins xUnit plugin
body: <p>I have this <code>Jenkinsfile</code> and I use <code>xUnit</code> plugin. I want to understand the key words used in this file:</p>
  
  <pre><code>node{
    stage ('Checkout')
    {
      checkout scm
    }
    stage ('Build')
    {
      try {
          sh '''
             mvn clean -B org.jacoco:jacoco-maven-plugin:prepare-agent install
          '''
        } catch (err) {
          // do nothing
        } finally {
          //step([$class: 'JUnitResultArchiver', testResults: '**/target/surefire-reports/TEST-*.xml'])
         step([$class: 'XUnitBuilder', testTimeMargin: '3000', thresholdMode: 1,
      thresholds: [
          [$class: 'FailedThreshold', failureNewThreshold: '', failureThreshold: '', unstableNewThreshold: '', unstableThreshold: '1'],
          [$class: 'SkippedThreshold', failureNewThreshold: '', failureThreshold: '', unstableNewThreshold: '', unstableThreshold: '']],
      tools: [
          [$class: 'JUnitType', deleteOutputFiles: false, failIfNotNew: false, pattern: '**/target/surefire-reports/TEST-*.xml', skipNoTestFiles: true, stopProcessingIfError: false]]
      ])
      }
    }
  }
  </code></pre>
  
  <p>What does <code>SkippedThreshold</code> mean? 
  What is the difference between <code>failureNewThreshold</code> and <code>failureThreshold</code> and between <code>unstableNewThreshold</code> and <code>unstableThreshold</code> ?</p>
  
  <p>Thank you for helping me to understand this, I could not find a clear documentation. Hope this will help others.</p>