Robert,  

you need to use the XML files generated by using the 
org.testng.reporters.XMLReporter reporter. Usually this is just a single file 
named testng-results.xml. The other files like TEST-*.xml files are generated 
by Junit Reporter and are used with the inbuilt Junit reporting.

I am not sure about the XML version issue that you are facing. If you still run 
into that issue after fixing your configuration, please file a bug and I’ll 
take a look.

-nalin  


On Wednesday, February 5, 2014 at 6:57, Robert Krüger wrote:

> On Tue, Feb 4, 2014 at 5:17 PM, Robert Krüger <[email protected] 
> (mailto:[email protected])> wrote:
>  
> >  
> > First of all, which of the test result files are the correct ones that
> > should be parsed? The ones named testng-results* or
> > TEST-<classname>.xml?
> >  
>  
>  
> OK, I found out the testng-results-<number>.xml ones in the build
> directory are copies of the TEST-<classname>.xml in the workspace.
> However, I do not see when those are copied because it is obviously
> not happening for every new result file that is generated. Is this
> documented somewhere? I read the testng plugin documentation. There it
> is not documented AFAICS.
>  
> Are there any other sources of information but the plugin source code?
>  
> --  
> 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] 
> (mailto:[email protected]).
> For more options, visit https://groups.google.com/groups/opt_out.
>  
>  


-- 
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].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to