[Buildbot-devel] MasterShellCommand working directory

Ian Bell ian.h.bell at gmail.com
Fri Aug 1 21:27:02 UTC 2014


First off, amazing work with buildbot!  I am so incredibly happy with it,
and it is so easy to use.  That combined with CMake is a brilliant solution.

I have set up a cross-platform buildbot network:
http://www.coolprop.dreamhosters.com:8010/waterfall that tests and builds
binaries for a library I have developed.  master.cfg is at
https://github.com/CoolProp/CoolProp/blob/master/dev/buildbot/master/master.cfg.
All the slaves are running on one mac mini.

I am trying to run a command on the master (deleting the binary folder in
public_html prior to running a release), as described here:
http://docs.buildbot.net/latest/manual/cfg-buildsteps.html#running-commands-on-the-master

But for the life of me I can't figure out what the default working
directory that is used on the master.  Can anyone shed some light?  I ran a
PWD, and I got the folder that I ran buildbot start from.  Is there any way
to determine the folder that contains the master.cfg file?  I see there is
an OLDPWD environmental variable that is defined to be the folder that
contains master.cfg, is that reliable?

Ian
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://buildbot.net/pipermail/devel/attachments/20140801/6f460743/attachment.html>


More information about the devel mailing list