[Buildbot-devel] Determining the slave platform

tom fogal tfogal at sci.utah.edu
Wed Dec 1 20:53:11 UTC 2010


Is it possible to identify the slave platform on the master somehow?

Right now I'm hacking this by running a command on the slaves which
sets a property, and then I can key into that property.  It would be
nice if I could do this purely in bbot though.

For my current purposes, I just need to distinguish `posix' and
`win32'.  In general, though, it seems like we'd want to be able to
access the slave's "platform" module (see import platform, [1]).

-tom

[1] http://docs.python.org/library/platform.html




More information about the devel mailing list