-
Bug
-
Resolution: Duplicate
-
Major
MSBuild plugin version 1.18 doesn't handle "partially" quoted arguments correctly.
I am using /p:Configuration="Any CPU". This is converted to "/p:Configuration="Any CPU"" causing the MSBuild command line to fail.
As a workaround I can escape the space character using a backslash (e.g. /p:Configuration=Any\ CPU). This will be converted by the MSBuild plugin to "/p:Configuration=Any CPU" which is fine for MSBuild. But this is only a workaround requiring to change all my Jenkins build jobs.
This is a regression introduced by the fix for JENKINS-17876.