[Buildbot-devel] Absolute build dir path

Sergey A. Lipnevich sergey at optimaltec.com
Sun Nov 23 16:46:42 UTC 2008


You can save this path in a builder property and retrieve it in step 
definition using WithProperties. To make the configuration 
slave-neutral, as part of the build you can run a command that creates 
this variable first, e.g. by checking several predefined locations. You 
can capture command output into a property using SetProperty step.


Daniel Eggert wrote:
> Is there an easy way inside a
> f1 = factory.BuildFactory()
> f1.addStep(ShellCommand(command=["benchmark",
>                                   "-all"],
>                          env={'DYLD_FRAMEWORK_PATH': '/absolute/path/ 
> to/build/path/System/Library/Frameworks'}
> to refer to the absolute path of the build slave's build dir?
> /Daniel

More information about the devel mailing list