[Buildbot-devel] No "build" directory if first BuildStep is not a checkout
Dustin J. Mitchell
dustin at zmanda.com
Mon Jun 18 23:24:48 UTC 2007
On Mon, Jun 18, 2007 at 06:23:13PM -0400, Greg Ward wrote:
> For various lame reasons, it looks like BuildBot's existing CVS
> checkout object won't work for me. (Mainly because checking out our
> tree first means checking out the file that lists the ~180 individual
> projects to checkout, then checking out those ~180 projects. Writing
> this is as a standalone script is much preferable to hacking it up
> inside master.cfg.)
>
> Unfortunately, it appears that BuildBot with no "official" checkout
> step never actually creates the "build" workdir, so running my
> checkout script fails -- in particular, the chdir() executed right
> before running my script dies, because the workdir that it assumes
> exist does not. Presumably there's an implicit, accidental assumption
> that *any* build factory will include an official checkout step.
>
> Is this a known bug? Or should I prepare a more thorough bug report
> with reproduction and all that?
I have a similar problem, since I build from tarballs on systems that
don't have acess to the VC server.
There are two ways around this:
- write your own Source class (perhaps one that executes your
standalone script)
- use a ShellCommand with "workdir='.'"
Dustin
--
Dustin J. Mitchell
Storage Software Engineer, Zmanda, Inc.
http://www.zmanda.com/
More information about the devel
mailing list