[Buildbot-devel] buildbot as Windows service over msys shell

Jim Rowan jmr at computing.com
Thu Jul 4 00:26:08 UTC 2013


I ended up installing buildslaves on windows a few different ways.   
Along the way I did something close to what you're asking for.

[All the following is "my recollection", and it was early in my  
education ramp-up... buildbot experts please correct me!]

If buildslave is using a native python, then it will use cmd as the  
shell, and the environment that the buildsteps inherit is that of the  
system-level profile (or, if the buildslave user has it's own profile,  
I guess it uses that).

If buildslave uses cygwin python (yes, I realize you said msys), then  
it uses cygwin's environment, and thus buildsteps use bash.  You'd  
have to use 'cygrunservice' or whatever it's called to set that up as  
a service, but it's probably possible.

msys doesn't provide a python port, so there isn't any "buildbot on  
msys" option.

The official guide takes you down the first path.  If you want to run  
msys commands (such as 'cat'), you can just use them -- make sure that  
they're in the %PATH% and they'll work, since they're native windows  
binaries.  You may need to be aware when you're coding the buildsteps  
that it's cmd that is processing them.


Does that help?



On Jul 3, 2013, at 9:32 AM, Fabrizio Buratta wrote:

> Hi all,
>
> I've installed buildbot as a service following the official guide.  
> Anyway I'd need to run my buildslave over msys shell , so I will  
> have its environment, commands  etc...
>
> Does anyone passed through this before?
>
> Any tip would be really appreciated, I'm a bit stucked.
>
> Cheers
>
> -- 
> Fabrizio Buratta
>
> ------------------------------------------------------------------------------
> This SF.net email is sponsored by Windows:
>
> Build for Windows Store.
>
> http://p.sf.net/sfu/windows-dev2dev
> _______________________________________________
> Buildbot-devel mailing list
> Buildbot-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/buildbot-devel





More information about the devel mailing list