Details
-
Bug
-
Status: Resolved (View Workflow)
-
Blocker
-
Resolution: Fixed
-
None
-
Jenkins 1.520, Win7 64 bit, Java 7
Description
The fix from #17876 breaks my builds which are using parameters with spaces, f.i.
Path To MSBuild.exe: c:\Windows\Microsoft.NET\Framework\v4.0.30319\MSBuild.exe
15:28:23 Executing the command cmd.exe /C c:\Windows\Microsoft.NET\Framework\v4.0.30319\MSBuild.exe "/p:Configuration="Release Wcdma"" /p:Platform=x86 /p:CheckIn=true /p:CheckOut=true /p:Crypt=true /t:rebuild C:\Snapshots\RS-CONTEST-RF-WCDMA_2.4x\contest_sw\Conformance.sln && exit %%ERRORLEVEL%% from C:\Snapshots\RS-CONTEST-RF-WCDMA_2.4x
15:28:23 [RS-CONTEST-RF-WCDMA_2.4x] $ cmd.exe /C c:\Windows\Microsoft.NET\Framework\v4.0.30319\MSBuild.exe '/p:Configuration="Release Wcdma"' /p:Platform=x86 /p:CheckIn=true /p:CheckOut=true /p:Crypt=true /t:rebuild C:\Snapshots\RS-CONTEST-RF-WCDMA_2.4x\contest_sw\Conformance.sln && exit %%ERRORLEVEL%%
15:28:23 Microsoft (R) Build Engine Version 4.0.30319.1
15:28:23 [Microsoft .NET Framework, Version 4.0.30319.296]
15:28:23 Copyright (C) Microsoft Corporation 2007. All rights reserved.
15:28:23
15:28:23 MSBUILD : error MSB1008: Only one project can be specified.
15:28:23 Switch: C:\Snapshots\RS-CONTEST-RF-WCDMA_2.4x\contest_sw\Conformance.sln
Note the parameter "/p:Configuration="Release Wcdma"" which was '/p:Configuration="Release Wcdma"' in the GUI. Without the single quotes (/p:Configuration="Release Wcdma") the result is the same...
Downgrading to the previous version of the msbuild plugin fixes the problem.
Attachments
Issue Links
- is duplicated by
-
JENKINS-18560 Extra " when forming cmd line arguments for parameters containing a space
-
- Resolved
-
Code changed in jenkins
User: Gregory Boissinot
Path:
src/main/java/hudson/plugins/msbuild/MsBuildBuilder.java
src/test/java/hudson/plugins/msbuild/MsBuildBuilderTest.java
http://jenkins-ci.org/commit/msbuild-plugin/07f777ed18603bc8e66c3eb0e3c9523c1a9ed784
Log:
Merge pull request #8 from tyrius02/master
[FIXED JENKINS-18543] Revert break from commit 11525049ed173f941d6ec6e87...
Compare: https://github.com/jenkinsci/msbuild-plugin/compare/6bd00887edd5...07f777ed1860