This is how I'm using this plugin in my jenkinsfile to read MSTest trx 
files:
 

> step([$class: 'WsCleanup'])


step([$class : 'XUnitPublisher',
>     testTimeMargin: '3000',
>     thresholdMode: 1,
>     thresholds: [
>         [$class: 'FailedThreshold', failureNewThreshold: '', 
> failureThreshold:'2', unstableNewThreshold: '', unstableThreshold: '']
>     ],
>     tools : [[$class: 'MSTestJunitHudsonTestType',
>         deleteOutputFiles: true,
>         failIfNotNew: false,
>         pattern: "\\TestResults\\*.trx",
>         skipNoTestFiles: false,
>         stopProcessingIfError: true
>     ]]
> ])


This seems to generate a junitResult.xml that only includes failed tests 
and fixed test (tests that previously failed) and new tests. Generally this 
is great and should be what you want to see, but I also want to see ALL 
tests includes ones that passed. Is there a settings for this?

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/78c1aca8-e100-487f-9b56-fa98f79d8b17%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to