[Buildbot-devel] Run Python code on the slave

Axel Hecht l10n.moz at googlemail.com
Mon Sep 21 21:50:53 UTC 2009


You need to tweak the buildbot.tac on each slave.

Next to the

from buildbot.slave.bot import BuildSlave

import your slave class that does teh registerSlaveCommand.

Axel

2009/9/21 Dave Piche <dpiche at plantcml.com>

>  Hi all,
>
>
>
> I am trying to run Python code directly on the slave.
>
>
>
> To do this I have created a customized buildbot.slave.commands.Command and
> I registered it using registry.registerSlaveCommand().
>
>
>
> In my master.cfg file, I use a sub-class of BuildStep that run a
> RemoteCommand('<my_command>', args).
>
>
>
> However, starting the buildmaster raise an unhandled error with this
> message: “Traceback from remote host -- Traceback unavailable”
>
>
>
> Anyone can explain the procedure to do this?
>
>
>
>
>
> Regards,
>
> *Dave Piché*
>
>
> ------------------------------------------------------------------------------
> Come build with us! The BlackBerry® Developer Conference in SF, CA
> is the only developer event you need to attend this year. Jumpstart your
> developing skills, take BlackBerry mobile applications to market and stay
> ahead of the curve. Join us from November 9-12, 2009. Register now!
> http://p.sf.net/sfu/devconf
> _______________________________________________
> Buildbot-devel mailing list
> Buildbot-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/buildbot-devel
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://buildbot.net/pipermail/devel/attachments/20090921/ea8f4815/attachment.html>


More information about the devel mailing list