[Buildbot-devel] dynamically finding the workdir for some build step

Tom Prince tom.prince at ualberta.net
Tue May 3 02:11:25 UTC 2011


On 2011-05-03, Philippe McLean wrote:
> setting the property:
> 
>     factory.addStep(SetProperty(command=["python", "-c", "import os, sys;
> print os.getcwd(); sys.exit(0)"], property='absBuildDir'))

With trunk (and 0.8.4 when it is released), this is available
automatically as the propery wordir. (Although I think this lacks the
trailing build that the above step gets).

  Tom




More information about the devel mailing list