-
Improvement
-
Resolution: Fixed
-
Minor
Currently there is no junit step which would make adding test reports much easier than this ugly mess
Instead of:
step([$class: 'JUnitResultArchiver', healthScaleFactor: 20.0, testResults: '**/target/surefire-reports/*.xml'])
Something like:
junit '**/target/surefire-reports/*.xml' /* or */ junit results: '**/target/surefire-reports/*.xml', healthScale: 20.0, retainStandardError: true
Wouldn't it make more sense to add a xunit step? It would clutter the list of steps quite a lot if there was a separate step for every supported format of the plugin. Or do I understand the relation between the jUnit and xUnit plugins wrong?