How to display the XUnit test output on Jenkins

1.5k views Asked by At

According to JUnit formatted test output I created an XUnit report xml with https://github.com/garcus/wct-xunit-reporter.

What does not work is that Jenkins displays the Test-Results. I tried:

  • different XUnit Test Results (Publish xUnit test result report: [xUnit] [ERROR] - The converted file for the result file '..../testfile.xml' (during conversion process for the metric 'NUnit') is not valid.)
  • the JUnit Test Results

Is there another XUnit xsl needed, or what else do I miss?

1

There are 1 answers

0
pme On BEST ANSWER

I found the correct test result type:

xUnit.Net-v2

That must be choosen in the dropdown of 'Publish xUnit test result report'