Details
-
Bug
-
Status: Resolved (View Workflow)
-
Blocker
-
Resolution: Fixed
-
None
-
Windows 7/2008
Description
I've been following JENKINS-5552 and this seems to be a different, but same issue. No matter what I put in the Command Line Arguments section of the "Build a Visual Studio project of solution using MSBuild" the command is parsed and the quotes needed are stripped. Since we have to use devenv.com, I cannot use the /p: command parameters. Attempting to us /build "Release|Win32" results in the quotes being stripped. This only happens when there are no spaces. "Release|Any CPU" appears to get the quotes re-established as the tokenizer recognizes the space. Can we just have this field get passed verbatim?
I had the same problem, that the quotes were being stripped from /p:Configuration="Release|x86". I believe the solution is to specifically use instantiate QuoteStringTokenizer instances that return the quotes instead of relying on ArgumentListBuilder.addTokenized() (which will strip the quotes).
I've committed the changes to a fork and have submitted a pull request.