How can I publish NUnit test results using Jenkins Pipeline? : <p>Trying to use the nifty Jenkins Pipeline, I had problems finding out how to publish NUnit test results.</p>

<p>I am able to run the tests by specifying the following command in the pipeline script:</p>

<pre><code>stage 'Test'
    bat '"C:\\Program Files (x86)\\NUnit 2.6.4\\bin\\nunit-console-x86.exe" "ProjectName\\bin\\Release\\UnitTests.net.dll"'
</code></pre>

<p>But how to make Jenkins "publish" the test results is not obvious. The Snippet Generator only suggests junit, and that does not seem to work.</p>
