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

Handling of Configuration and Platform parameters

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • msbuild-plugin
    • None
    • Windows 7 64bit slave, Visual Studio 2012, Jenkins 1.509.2

      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.

            kdsweeney kdsweeney
            drewr Drew Reed
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: