[Buildbot-devel] workdir Usage

David A. Greene greened at obbligato.org
Wed Dec 3 01:14:44 UTC 2008

On Monday 01 December 2008 21:59, Charles Lepple wrote:
> On Mon, Dec 1, 2008 at 1:10 PM, David A. Greene <greened at obbligato.org> 
> >  f.addStep(ShellCommand(command=["cd", "./build-llvm-initial/src"]))
> Hopefully someone else has time to address the workdir issue, but
> basically, any time you have only a "cd some/dir" command in a step,
> it is a no-op.
> Each ShellCommand is executed in its own sub-shell, and the "cd" only
> affects that shell instance.
> If you pass a string to ShellCommand instead of a list, and include
> some commands after the "cd", that might get you closer to what you
> want, but aside from that, each new step after e.g. source.SVN
> defaults to $slavedir/build.

Ok, I was afraid of that.  I'll try playing with workdir.


More information about the devel mailing list