[Buildbot-devel] Dynamically composed build steps
Grig Gheorghiu
grig at agilistas.org
Tue Aug 1 01:45:03 UTC 2006
Hi,
I have the following scenario: there's a special file that gets created
dynamically on each buildslave, via a makefile. I can generate this file by
running a build step which runs the makefile on each slave. The file
contains N lines, each line being a Unix command. I want to send these N
commands as build steps to each slave. I could of course run the file as a
whole in one build step, but I'd lose the separate logs for each step.
Currently, I'm using this hack, which doesn't quite do what I want: I copy
the file (let's call it buildbot.cmd) from each slave to an NFS-mounted
directory seen by all slaves and by the master. The file is copied as
buildbot_slavename.cmd. In master.cfg I'm looking for that file, read it in,
and append N build steps for that particular slave. Of course, this only
works when I start up or restart or send a SIGHUP to the master.
Is there a way to achieve what I want?
Thanks,
Grig
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://buildbot.net/pipermail/devel/attachments/20060731/7871c6f6/attachment.html>
More information about the devel
mailing list