Re: MSBuild Visual Studio
Hello, I ran into the same problem as you. I'm old enough that I play with DOS short path when I was teenager that he saved me here!! The solution, use this path: C:\PROGRA~2\MSBuild\12.0\Bin\MSBuild.exe ArchieCoder On Wednesday, 19 February 2014 11:01:12 UTC-5, Jmata wrote: > Hello Guys, > Im running into a small issue in regards to the MSBuild Plugin . All > setting seem to be correct in our configuration path, (pointing to the > correct path C:\Program Files (x86)\MSBuild\12.0\Bin\MSBuild.exe > > As soon as we run a build job we get the following error. > > msbuild.exe' 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 > > > If we run this through command line everything works perfect. No issues > > > Please help. > > > Thanks > > -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
RE: MSBuild Visual Studio
Hi You need to specify the path to msbuild. The plugin does not do that for you AFAIK. We just use a Windows batch command build step and do: %MSBUILD% MSVC\mysln.sln /p:Configuration="Release" /p:useenv=true /flp:logfile=MyOutput.log;verbosity=diagnostic where: MSBUILD="C:\\Windows\\Microsoft.NET\\Framework\\v4.0.30319\\MSBuild.exe" (set in the Jenkins project config page) David From: jenkinsci-users@googlegroups.com [mailto:jenkinsci-users@googlegroups.com] On Behalf Of Jmata Sent: 19 February 2014 16:01 To: jenkinsci-users@googlegroups.com Subject: MSBuild Visual Studio Hello Guys, Im running into a small issue in regards to the MSBuild Plugin . All setting seem to be correct in our configuration path, (pointing to the correct path C:\Program Files (x86)\MSBuild\12.0\Bin\MSBuild.exe As soon as we run a build job we get the following error. msbuild.exe' 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 If we run this through command line everything works perfect. No issues Please help. Thanks -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscr...@googlegroups.com<mailto:jenkinsci-users+unsubscr...@googlegroups.com>. For more options, visit https://groups.google.com/groups/opt_out. Click here<https://www.mailcontrol.com/sr/fDVTbEs3tjfGX2PQPOmvUpFBc4ZD8M8U!!Cxv+7V9qTQM9wZBiiSC8O9I1!sc2DYDsVvQKdvCPTVvyfHqPLkZg==> to report this email as spam. -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: MSBuild Visual Studio
You could add a build step which executes a Windows batch to echo %PATH%. I suspect that the PATH (or other environment) setting is not what you want when running that job. On Wed, Feb 19, 2014 at 9:01 AM, Jmata wrote: > Hello Guys, > Im running into a small issue in regards to the MSBuild Plugin . All > setting seem to be correct in our configuration path, (pointing to the > correct path C:\Program Files (x86)\MSBuild\12.0\Bin\MSBuild.exe > > As soon as we run a build job we get the following error. > > msbuild.exe' 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 > > > If we run this through command line everything works perfect. No issues > > > Please help. > > > Thanks > > -- > You received this message because you are subscribed to the Google Groups > "Jenkins Users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to jenkinsci-users+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/groups/opt_out. > -- Thanks! Mark Waite -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
MSBuild Visual Studio
Hello Guys, Im running into a small issue in regards to the MSBuild Plugin . All setting seem to be correct in our configuration path, (pointing to the correct path C:\Program Files (x86)\MSBuild\12.0\Bin\MSBuild.exe As soon as we run a build job we get the following error. msbuild.exe' 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 If we run this through command line everything works perfect. No issues Please help. Thanks -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.