[Buildbot-devel] Slave doesnt create output directory

Brian Warner warner-buildbot at lothar.com
Tue May 3 04:52:03 UTC 2005


> # Create basic BuildFactory object to generate our steps for us
> f1 = factory.BuildFactory()
> # Tell the BuildFactory about the steps
> f1.steps.append(s(step.ShellCommand, command="dir" ))

> it kacks because the "build" directory hasn't been created:

Ah, yes, all of the steps assume that the workdir was created by a Source
step of some sort.. a CVS checkout or the like. If you don't do that, you'll
need to add a mkdir step yourself.

> Oh, also the buildbot slave command doesn't work. I have to use mktap.
> It seems to foul up the arguments and miss the password for some reason.

Hrm. Sounds like the %1..%9 vs %* problem. How many arguments are you passing
in? Does the 'buildbot' command you're using use '%*' or the old numbered
parameters?

Also, I should probably change 'buildbot slave' to 'buildbot create_slave' or
'buildbot make slave' or something, to make the command more clear. I'll look
into this (probably keeping the old command as an alias for a while) when I
fix it to make .tac files instead of .tap files.

cheers,
 -Brian




More information about the devel mailing list