title: Jenkinsfile: publish test results even if test step fails
body: <p>In my <code>Jenkinsfile</code> I have a stage <code>Test</code> where I run a <code>npm</code> test command step as well as a <code>junit</code> step to archive test results.</p>
  
  <pre><code>stage('Test') {
    steps {
      sh 'npm run test-ci'
      junit 'test-results.xml'
    }
  }
  </code></pre>
  
  <p>How can I use <code>try</code>/<code>finally</code> correctly to run the <code>junit</code> step even if the <code>sh 'npm run test-ci'</code> step fails?</p>