[Buildbot-devel] shellcommand cd problem
Shaun McDonald
buildbot-project at shaunmcdonald.me.uk
Fri May 16 09:39:14 UTC 2008
On 16 May 2008, at 07:45, A.T.Hofkamp wrote:
> Don Fike wrote:
>> I'm trying to do a simple cd in a ShellCommand like;
>>
>> f.addStep(ShellCommand, command=["cd","src"], description=["cd"])
>>
>> I checkout fine but need to cd to the src directory to run
>> configure and
>> make. I can do a shellcommand pwd and ls and see the directory src
>> within the build directory but any form of cd fails with an error
>> similar to this;
>
> You can add a 'workdir' setting.
That is the best option because each step has their own workdir set,
and the dir doesn't persist from one step to the next.
Shaun
More information about the devel
mailing list