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

Amber Yust ayust at yelp.com
Wed Nov 10 00:14:59 UTC 2010


This is most likely due to the following changeset:

https://github.com/buildbot/buildbot/commit/708852c170b483721fc79194ec351f6711af71e8

Since the .buildbot-sourcedata file is now in the builder base dir, instead
of in each src dir, it's no longer keeping two separate files, and thus each
build is overwriting the same file.

~Amber

On Tue, Nov 9, 2010 at 4:10 PM, Dylan Arnold <dylan.arnold at gmail.com> wrote:

> 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
>
>
> ------------------------------------------------------------------------------
> The Next 800 Companies to Lead America's Growth: New Video Whitepaper
> David G. Thomson, author of the best-selling book "Blueprint to a
> Billion" shares his insights and actions to help propel your
> business during the next growth cycle. Listen Now!
> http://p.sf.net/sfu/SAP-dev2dev
> _______________________________________________
> Buildbot-devel mailing list
> Buildbot-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/buildbot-devel
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://buildbot.net/pipermail/devel/attachments/20101109/479d693e/attachment.html>


More information about the devel mailing list