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

MS Test plugin does not correctly wrap it's call to the command line in quotation marks.

    Details

    • Similar Issues:

      Description

      When attempting to run MSTEST from the mstest plugin the plugin does not correctly wrap files in quotation marks. The problem occurs if the file being run after the /testcontainer switch requires quotation marks because it contains spaces in its path.

      The help for cmd.exe specifically has requirements for calling cmd.exe /c that cause issues when both the executable for mstest and the test container have spaces in their paths.

      The work around is to use the functionality in Jenkins that allows batch files to run mstest instead of the plugin.

        Attachments

          Activity

          Hide
          nilleb Ivo Bellin Salarin added a comment - - edited

          Moved to mstestrunner-plugin.
          The mstest plugin doesn't execute mstest.exe. The mstest-plugin finds the trx files in the workspace and converts them to junit format.

          Show
          nilleb Ivo Bellin Salarin added a comment - - edited Moved to mstestrunner-plugin. The mstest plugin doesn't execute mstest.exe. The mstest-plugin finds the trx files in the workspace and converts them to junit format.

            People

            • Assignee:
              Unassigned
              Reporter:
              andhecodedit Logan Daigle
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: