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.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • mstestrunner-plugin
    • windows server 2003, Visual Studio 2008

      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.

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

              Created:
              Updated: