[Buildbot-devel] custom build steps

Ian Peters-Campbell mahatmamanic at gmail.com
Wed Feb 11 23:18:01 UTC 2009


Is there a form of existing BuildStep which, assuming I have Python and the
relevant libraries installed on the BuildSlave, would let me run the Python
code from the build step's start method (or some other arbitrary function)
locally to the build slave rather than the build master?  So for instance,
if I had code such as:

f = open('foo.txt', 'w')
f.write("bar")
f.close()

I would want the file foo.txt to appear on the build slave rather than on
the build master.

If not I guess I can write my code to a file, send the file down with a
FileDownload, and then execute it with a ShellCommand, but that feels like
the long way around the lake, and I figured I'd ask before I went with that.

Thanks
Ian
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://buildbot.net/pipermail/devel/attachments/20090211/6c9a8626/attachment.html>


More information about the devel mailing list