[Buildbot-devel] [win32] service not quite working with VS2008, env problem

Stephen Davis buildbot at soundgeek.org
Wed Nov 26 21:57:24 UTC 2008


Hi all,

I have a buildbot service set up with an installation of VS2008 but,  
since VS2008 no longer installs its environment variables into every  
user's PATH, etc., the builds fail b/c the environment is not properly  
set up.  I slogged through the stuff that happens when you execute the  
VS2008-specific cmd shell and it's not a simple matter of adding a few  
entries to the buildbot user's environment.  It executes a series  
of .bat files.

Since each build step invocation gets its own shell (I assume), what's  
the easiest way to get the right environment variables set up?

Can you specify a .bat file that runs when the user logs in (a  
la .login on unix)?

Could I change the path to PythonService.exe in the service's registry  
entry to point to a .bat file that sets up the environment and then  
runs PythonService.exe?

I am not a Windows guy at all so I'm floundering here.

thanks,
stephen




More information about the devel mailing list