[Buildbot-devel] (no subject)

Ben Hearsum bhearsum at mozilla.com
Tue Sep 21 00:05:24 UTC 2010


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

No. Best way to do this is put it in a script, download that script as
part of the build, and run that.

On 10-09-20 5:01 PM, David Weidenkopf wrote:
> Possibly naïve question here:
> 
> Is there a buildstep (or some other construct) in buildbot that allows python code to run on the slave? For example, I would like define a function on the master and be able to pass that function to a buildstep to be executed on the slave. The code would not ever exist on the slave except when it is executed. I imagine the code would be pickled over to the slave, executed and then results pickled back. I guess buildbot is doing this already, but the capability is not exposed? The alternative seems to be SetProperty steps. One use case we have is that we want to have a random number generated each time a build step executes so that it can be passed to a test suite.
> 
> 
> David Weidenkopf
> 
> 
> ------------------------------------------------------------------------------
> Start uncovering the many advantages of virtual appliances
> and start using them to simplify application deployment and
> accelerate your shift to cloud computing.
> http://p.sf.net/sfu/novell-sfdev2dev
> _______________________________________________
> Buildbot-devel mailing list
> Buildbot-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/buildbot-devel
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Darwin)

iEYEARECAAYFAkyX9sQACgkQJE25Np0n+NssewCggEof5l8xCQh+686lmj5W48zf
tf4AnjJPKAk6iLlHHd6zfu0Sjmg1cGdM
=QUTD
-----END PGP SIGNATURE-----




More information about the devel mailing list