title: How to use jenkins pipeline script with UnitTest++ 1.4
body: <p>I have some C++ code which I build on jenkins. I ran UnitTest++ 1.4 to test the C++ code and this generates some <code>TestResults*.xml</code>.</p>
  
  <p>This works nice as long as I configure the jenkins build job using the web frontend:</p>
  
  <p><a href="https://i.stack.imgur.com/BO3fT.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/BO3fT.png" alt="Jenkins-xUnit-Web"></a></p>
  
  <p>For a new build job I have to use the jenkins pipeline plugin instead, so I have to write a Jenkinsfile. For evaluating my <code>TestResults*.xml</code>, I only found two alternatives:</p>
  
  <pre><code>junit 'TestResults*.xml'
  step([$class: 'JUnitResultArchiver', testResults: 'TestResults*.xml'])
  </code></pre>
  
  <p>But none of them work. Seems that junit xml format is different to UnitTest++ 1.4.</p>
  
  <p>Does anyone know which Jenkinsfile statement is required to correctly use UnitTest++ 1.4 test results xml output?</p>