[JIRA] [msbuild] (JENKINS-22461) New MSBuild release has a space in the installation path; causes msbuild plugin to fail
Gregory Boissinot resolved JENKINS-22461 as Fixed New MSBuild release has a space in the installation path; causes msbuild plugin to fail Change By: Gregory Boissinot (15/Aug/14 10:00 PM) Status: Open Resolved Resolution: Fixed This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators. For more information on JIRA, see: http://www.atlassian.com/software/jira -- You received this message because you are subscribed to the Google Groups Jenkins Issues group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] [msbuild] (JENKINS-22461) New MSBuild release has a space in the installation path; causes msbuild plugin to fail
SCM/JIRA link daemon commented on JENKINS-22461 New MSBuild release has a space in the installation path; causes msbuild plugin to fail Code changed in jenkins User: Gregory Boissinot Path: src/main/java/hudson/plugins/msbuild/MsBuildBuilder.java http://jenkins-ci.org/commit/msbuild-plugin/da904ff4b558ce6ca4ca14ada2eecc423a56d941 Log: Merge pull request #15 from XitasoChris/master Fix: MSBuild can now be in a path containing spaces (JENKINS-22461) Compare: https://github.com/jenkinsci/msbuild-plugin/compare/635691a03d43...da904ff4b558 This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators. For more information on JIRA, see: http://www.atlassian.com/software/jira -- You received this message because you are subscribed to the Google Groups Jenkins Issues group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] [msbuild] (JENKINS-22461) New MSBuild release has a space in the installation path; causes msbuild plugin to fail
SCM/JIRA link daemon commented on JENKINS-22461 New MSBuild release has a space in the installation path; causes msbuild plugin to fail Code changed in jenkins User: Christopher Gross Path: src/main/java/hudson/plugins/msbuild/MsBuildBuilder.java http://jenkins-ci.org/commit/msbuild-plugin/f72edcd8642832542c807db4939ec7c5bbab1a27 Log: fix: msbuild can now be in a path containing spaces (fix provided via comment on JENKINS-22461 by Thorsten Bojer) This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators. For more information on JIRA, see: http://www.atlassian.com/software/jira -- You received this message because you are subscribed to the Google Groups Jenkins Issues group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] [msbuild] (JENKINS-22461) New MSBuild release has a space in the installation path; causes msbuild plugin to fail
Ross Inglis commented on JENKINS-22461 New MSBuild release has a space in the installation path; causes msbuild plugin to fail What worked for me was using the short path. E.G. C:\PROGRA~2\MSBuild\12.0\Bin\MSBuild.exe (Use the DOS command "dir /X" to verify this name on your platform, it just 'might' be different) This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators. For more information on JIRA, see: http://www.atlassian.com/software/jira -- You received this message because you are subscribed to the Google Groups Jenkins Issues group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] [msbuild] (JENKINS-22461) New MSBuild release has a space in the installation path; causes msbuild plugin to fail
Thorsten Bojer commented on JENKINS-22461 New MSBuild release has a space in the installation path; causes msbuild plugin to fail I had also this problem. Changing if (!launcher.isUnix()) { args.prepend("cmd.exe", "/C"); args.add("", "exit", "%%ERRORLEVEL%%"); } to if (!launcher.isUnix()) { args.prepend("cmd.exe", "/C", "\""); args.add("\"", "", "exit", "%%ERRORLEVEL%%"); } resolved the problem for me. This add additional quotes to the command line, so that the all parameters acts as a single Parameter for 'cmd /C'. This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators. For more information on JIRA, see: http://www.atlassian.com/software/jira -- You received this message because you are subscribed to the Google Groups Jenkins Issues group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] [msbuild] (JENKINS-22461) New MSBuild release has a space in the installation path; causes msbuild plugin to fail
Miguel Nieto commented on JENKINS-22461 New MSBuild release has a space in the installation path; causes msbuild plugin to fail As a work arround, you can setup the PATH environment variable to add the path to MSBuild. Then, in the project configuration, select the Default MSBuild version. This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators. For more information on JIRA, see: http://www.atlassian.com/software/jira -- You received this message because you are subscribed to the Google Groups Jenkins Issues group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] [msbuild] (JENKINS-22461) New MSBuild release has a space in the installation path; causes msbuild plugin to fail
Dick Ginga commented on JENKINS-22461 New MSBuild release has a space in the installation path; causes msbuild plugin to fail I have hit this also with a path to the solution file containing a space This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators. For more information on JIRA, see: http://www.atlassian.com/software/jira -- You received this message because you are subscribed to the Google Groups Jenkins Issues group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] [msbuild] (JENKINS-22461) New MSBuild release has a space in the installation path; causes msbuild plugin to fail
cswarren created JENKINS-22461 New MSBuild release has a space in the installation path; causes msbuild plugin to fail Issue Type: Bug Assignee: kdsweeney Components: msbuild Created: 02/Apr/14 11:24 AM Description: The installation location for the new MSBuild release has a space in the path. If I put quotes around the path to MSBuild in system configuration ("C:\Program Files (x86)\MSBuild\12.0\Bin\MSBuild.exe"), this error occurs: FATAL: "C:\Program Files (x86)\MSBuild\12.0\Bin\MSBuild.exe" doesn't exist Build step 'Build a Visual Studio project or solution using MSBuild' marked build as failure Without quotes in the system configuration, but with a command-line parameter that includes quotes (/p:Platform="Mixed Platforms"), this happens: Path To MSBuild.exe: C:\Program Files (x86)\MSBuild\12.0\Bin\MSBuild.exe Executing the command cmd.exe /C "C:\Program Files (x86)\MSBuild\12.0\Bin\MSBuild.exe" "/p:Platform=Mixed Platforms" src/Build.proj exit %%ERRORLEVEL%% from C:\jenkins\workspace\wintest wintest $ cmd.exe /C "C:\Program Files (x86)\MSBuild\12.0\Bin\MSBuild.exe" "/p:Platform=Mixed Platforms" src/Build.proj exit %%ERRORLEVEL%% 'C:\Program' is not recognized as an internal or external command, operable program or batch file. Build step 'Build a Visual Studio project or solution using MSBuild' marked build as failure Environment: MSBuild 12.0 -- this is now distributed as a separate package, instead of being included with the dot-net framework Windows 2012 Jenkins MSBuild Plugin 1.21 Project: Jenkins Priority: Major Reporter: cswarren This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators. For more information on JIRA, see: http://www.atlassian.com/software/jira -- You received this message because you are subscribed to the Google Groups Jenkins Issues group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.