Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-32937

Request to make MSTest Plugin compatible with the new workflow

XMLWordPrintable

    • Icon: New Feature New Feature
    • Resolution: Fixed
    • Icon: Minor Minor
    • mstest-plugin
    • open-source Jenkins 1.647 as well as the Cloubees jenkins.

      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.

            nilleb Ivo Bellin Salarin
            okram999 Niristotle Okram
            Votes:
            13 Vote for this issue
            Watchers:
            17 Start watching this issue

              Created:
              Updated:
              Resolved: