Re: Publishing vstest results?

2016-02-12 Thread ok999
@James any idea on how to use the plugin via the new jenkins pipeline. I am using the MS Test plugin to publish the .trx. But after adopting the new pipeline, i am not sure on how to call this action via a workflow. On Tuesday, November 11, 2014 at 6:00:55 PM UTC-6, James Telfer wrote: > > Fo

Re: Publishing vstest results?

2014-11-11 Thread James Telfer
For those that are reading this thread and are interested, there is a plugin for this: Jenkins MSTest plugin It wraps the transformation to JUnit format and publishes the result, making it a lot easier to setup. You pass the TRX in dir

Re: Publishing vstest results?

2014-11-11 Thread Rob D
Thanks Marton and Jeff. I was out for a few days and just now had a chance to work on this. Test results are now displaying. Rob On Thursday, November 6, 2014 8:54:53 AM UTC-6, Jeff Dege wrote: > > First - added a build action: run unit tests with VSTest.console > Second - added a build-action:

Re: Publishing vstest results?

2014-11-06 Thread Jeff Dege
First - added a build action: run unit tests with VSTest.console Second - added a build-action: Execute Windows batch command to convert the results from vstest to junit Third - added a post-build action: Publish JUnit test result report What VSTest.console outputs is XML, what the JUnit report p

RE: Publishing vstest results?

2014-11-06 Thread Sebok, Marton
ot; } $xmlDoc.Save("${env:WORKSPACE}\testresult.trx") } After running this this script the mstest plugin can be configured to search “testresult.trx” I hope I could help. Marci From: jenkinsci-users@googlegroups.com [mailto:jenkinsci-users@googlegroups.com] On Behalf Of Rob D

Re: Publishing vstest results?

2014-11-05 Thread Rob D
Jeff, did you get this working. I just ran into the same issue and discovered your thread. I am very new to Jenkins so if you or anyone else can explain how to display the results of the vstestrunner plugin so that a beginner can understand it, I would be extremely grateful. Rob On Thursday, J

Re: Publishing vstest results?

2014-07-10 Thread Glenn V
The xslt does not transform to MsTest format, but to JUnit format. You can import the resulting xml file with the "publish junit test result report" post build task. Kind regards, Glenn On Monday, June 23, 2014 8:55:27 PM UTC+2, Jeff Dege wrote: > > OK, I have added a Windows Batch Command task

Re: Publishing vstest results?

2014-06-23 Thread Jeff Dege
OK, I have added a Windows Batch Command task, that's using Saxonica's XLST transform to the VsTest .trx file to what is supposed to be an MsTest .trx file that the Jenkins plug-in can handle, using the .xsl file included in Jenkins-19360. It's not working at all. Where the untransformed file

Re: Publishing vstest results?

2014-06-20 Thread Jeff Dege
Any hints as o how to use the xsl file to transform the trx? Is there a hook within the vstest runner or mstest plugins, where I can plug in the xsl? Or do I need to add a new step to do the conversion? Using what tool? On Friday, June 20, 2014 1:45:47 AM UTC-5, Glenn V wrote: > > I think I ra

Re: Publishing vstest results?

2014-06-19 Thread Glenn V
I think I ran into similar problems a while ago. These open jenkins issues are related: https://issues.jenkins-ci.org/browse/JENKINS-21424 https://issues.jenkins-ci.org/browse/JENKINS-19360 Attached to Jenkins-19360 is an xsl file that you can use to transform the trx file that vstest produces t