Well, what I have done is created a properties file of the environment variables set in a “Visual Studio Command Prompt” window. I load those through the Environmental Inject Plugin at the start of the job. Anything set in this way is available to all build steps.
From: jenkinsci-users@googlegroups.com [mailto:jenkinsci-users@googlegroups.com] On Behalf Of Anitha Kabil Raj Sent: Wednesday, February 18, 2015 12:13 AM To: jenkinsci-users@googlegroups.com Subject: Re: Build using devenv.exe from Jenkins Thanks for the suggestion. I tried using msbuild now. But there is there a way to get the INCLUDE path set. All except the projects using files from Windows DDK path is getting built successfully. On Tuesday, 17 February 2015 19:26:36 UTC+5:30, rginga wrote: I use MSBUILD a lot. This is what my steps look like: [Image removed by sender.] From: jenkins...@googlegroups.com<javascript:> [mailto:jenkins...@googlegroups.com<javascript:>] On Behalf Of kfhickel Sent: Tuesday, February 17, 2015 7:33 AM To: jenkins...@googlegroups.com<javascript:> Subject: Re: Build using devenv.exe from Jenkins In your script, add /useenv as an argument to devenv.exe. e.g.: instead of "devenv.exe proj.sln", you want to issue "devenv /useenv proj.sln". -Kelly On Tuesday, February 17, 2015 at 5:32:29 AM UTC-6, Anitha Kabil Raj wrote: Hello Group, I have recently started using Jenkins for automating builds. I tried using MSBUILD plugin for building VC++ project using devnev.exe. I couldn't use it as the quotes around the configuration I was trying to build, "Release|Win32" was getting stripped. Is there any update available on this issue, or any workaround on same? Now running devenev.exe from batch script. Here I see that the INCLUDE environment variable that I set is not getting picked by the project while build, hence the build fails. It is failing to include files from Windows DDK path, even after providing the path in INCLUDE variable. Anyone in group faced similar issue. Since none of the these methods worked, I'm stuck and not able to proceed further. Thanks in advance for the help, Anitha -- 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-use...@googlegroups.com<javascript:>. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/c7a7258d-c128-4833-a651-b52632298232%40googlegroups.com<https://groups.google.com/d/msgid/jenkinsci-users/c7a7258d-c128-4833-a651-b52632298232%40googlegroups.com?utm_medium=email&utm_source=footer>. For more options, visit https://groups.google.com/d/optout. -- 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>. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/6fef84c4-7d14-4f82-bd92-518c3695a2a5%40googlegroups.com<https://groups.google.com/d/msgid/jenkinsci-users/6fef84c4-7d14-4f82-bd92-518c3695a2a5%40googlegroups.com?utm_medium=email&utm_source=footer>. For more options, visit https://groups.google.com/d/optout. -- 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. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/6C6EE445A6F6CE4E8A0FFB51B071A4E26E4FA3EF%40AMERMBX02.PERKINELMER.NET. For more options, visit https://groups.google.com/d/optout.