[Buildbot-devel] Automatically Creating builddir?

Grig Gheorghiu grig at agilistas.org
Mon Sep 18 19:05:24 UTC 2006


On 9/16/06, Roy S. Rapoport <buildbot-devel at ols.inorganic.org> wrote:
>
> As I've been adding builders on my master, I'm finding that their initial
> attempt to build fails because builddir on the slave does not exist -- I
> have to manually mkdir it on each slave in order for builds to succeed.
>
> Given the master should be able to arbitrarily tell the slave what to do,
> I'm not sure I understand the motivation in having to have the slave
> manually create the builddirs for the master to succeed building on it --
> a
> way for the slave admin to know what the slave is being used for?
>
> Is there a way to change this behavior so the slave auto-creates the
> builddir if it needs it? If not, would it be a bad idea for me to tweak my
> buildbot code to do that?


Roy,

You only have to manually create the builddir if you don't have the source
code checkout/update as your first step in your builder. If you do have this
step, the slave will do it for you. I do have situations where I don't run
that step, so I have to manually create builddir, and then a directory
called build under builddir.

Grig
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://buildbot.net/pipermail/devel/attachments/20060918/60da3e52/attachment.html>


More information about the devel mailing list