[Buildbot-devel] Multiple work directories based on branch causes SVN clobber

Dylan Arnold dylan.arnold at gmail.com
Wed Nov 10 00:10:27 UTC 2010


Hi all,

I have some builders for which I set the work dir based on the current build
branch and some build property called config.

This results in directories like this.

# branch = trunk, config = testing
buildslave/builder_dir/trunk/testing

# branch = trunk, config = staging
buildslave/builder_dir/trunk/staging

# branch = tags/0.6.10, config = staging
buildslave/builder_dir/tags/0.6.10/staging

This builder has a SVN step and the idea is that the correct source gets
checked out into the correct working directory, and the correct
configuration is compiled. Then subsequent builds of the same branch and
configuration are incremental.

I had this working but I upgraded to 0.8.2 and this no longer works. If
branch A gets built, then branch B gets built, then branch A gets built
again. The working directory for the original A checkout gets clobbered.

This doesn't appear to be a problem when changing just the config property.

So it appears that buildbot does a clobber if the branch changes and ignores
the checkout directory.

Does anyone have any ideas? Thanks.

Regards

Dylan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://buildbot.net/pipermail/devel/attachments/20101110/b1079cbb/attachment.html>


More information about the devel mailing list