Details
-
New Feature
-
Status: Resolved (View Workflow)
-
Minor
-
Resolution: Fixed
-
open-source Jenkins 1.647 as well as the Cloubees jenkins.
Description
The Pipeline's script generator doesn't show the MSTest plugin as one of the compatible plug-in as of now. As a workaround, i am using the below batch command to get the publish working from the workflow.
[stage name: 'Publish test result', concurrency: 1
bat 'C:\\bin
msxsl.exe TestResult.trx "C:\\Jenkins\\plugins\\mstest\\WEB-INF
mstest-to-junit_withOutput.xsl" -o JUnitLikeResultsOutputFile1.xml'
step([$class: 'JUnitResultArchiver', allowEmptyResults: true, testResults: 'JUnitLikeResultsOutputFile1.xml'])]
But this involves, using the "msxsl.exe" and a .xls file for the transformation of the .trx file to .xls.
Attachments
Issue Links
- is blocked by
-
JENKINS-37159 Jenkins Pipeline support for mstest
-
- Resolved
-
- is duplicated by
-
JENKINS-37159 Jenkins Pipeline support for mstest
-
- Resolved
-
For those using the xUnit plugin: I have proposed a pull request to the maintainer, so he will get a few bugfixes. If it does the job you're willing to do, that's great. But, I have to admit that your example wasn't clear, and if you want to elaborate, you're welcome.