[Buildbot-devel] Determining the slave platform

Dustin J. Mitchell dustin at v.igoro.us
Wed Dec 1 22:02:48 UTC 2010


On Wed, Dec 1, 2010 at 3:53 PM, tom fogal <tfogal at sci.utah.edu> wrote:
> 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]).

There's nothing built-in to do that, but some of the replacements for
the slave that we've been playing with do provide this information.

Dustin




More information about the devel mailing list