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

Handling of Configuration and Platform parameters

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Component/s: msbuild-plugin
    • Labels:
      None
    • Environment:
      Windows 7 64bit slave, Visual Studio 2012, Jenkins 1.509.2
    • Similar Issues:

      Description

      When using the plugin with out any explicit command options but using the "Pass build variables as properties" option I'm finding the generated command line has broken properties generated.

      I get the following
      Path To MSBuild.exe: C:\Windows\Microsoft.NET\Framework\v4.0.30319\MSBuild.exe
      Executing the command cmd.exe /C C:\Windows\Microsoft.NET\Framework\v4.0.30319\MSBuild.exe /nologo /p:label=VS2012WDK;Configuration=Win8+Debug;Platform=x64 && exit %%ERRORLEVEL%% from C:\jenkins\workspace\VCHIq_Interface_Driver_(staging)\Configuration\Win8 Debug\Platform\x64\label\VS2012WDK

      As you can see the /p option has no quotes and has change the space in the Configuration name into a plus.

      version 1.16 work as expected.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                kdsweeney kdsweeney
                Reporter:
                drewr Drew Reed
              • Votes:
                1 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: