Forum Discussion

MWahlberg's avatar
MWahlberg
Occasional Contributor
12 years ago

SOLVED: duplicate Hudson test results using PRO Maven plugin

Thought I share the workaround for eliminating duplicate test results in Hudson/Jenkins when running SOAPUI PRO MAVEN PLUGIN.
THe issue is described here viewtopic.php?t=17698

The (obvious) workaround I found was to include only the "TEST-*.xml" resultfiles for inclusion into hudson junit results in the hudson job configuration (freestyle project) using pattern expression in settings for "Publish JUnit test result report"

**/target/<output>/TEST*.xml

(where <output> is the outputdirectory as defined in the maven pom.xml for your SOAPUI Test projects

1 Reply

  • redfish4ktc2's avatar
    redfish4ktc2
    Super Contributor
    Hi,
    as described in the other post, this won't work with jenkins/hudson maven job as you don't have control on files used by the plugin.
    You can also use maven-soapui-extension-plugin (which is another implementation of the maven plugin). This plugin has an option to avoid extra junit files generation