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

Request to make MSTest Plugin compatible with the new workflow

    • 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.

          [JENKINS-32937] Request to make MSTest Plugin compatible with the new workflow

          Niristotle Okram created issue -
          Niristotle Okram made changes -
          Epic Link New: JENKINS-31152 [ 165808 ]
          Niristotle Okram made changes -
          Description Original: I have started to use the new Pipeline plug-in for Jenkins. But the 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.
          New: But 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.
          Niristotle Okram made changes -
          Description Original: But 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.
          New: 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.
          Christopher Orr made changes -
          Labels Original: mstest New: pipeline
          Christopher Orr made changes -
          Epic Link Original: JENKINS-31152 [ 165808 ]
          Jesse Glick made changes -
          Labels Original: pipeline New: workflow
          Patrick Wolf made changes -
          Epic Link New: JENKINS-34657 [ 170293 ]
          R. Tyler Croy made changes -
          Workflow Original: JNJira [ 168654 ] New: JNJira + In-Review [ 183217 ]
          Andrew Bayer made changes -
          Labels Original: workflow New: pipeline workflow

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

              Created:
              Updated:
              Resolved: