[Buildbot-devel] Multiple repositories/branches and branch property of triggered builders

Markus Blatt markus at dr-blatt.de
Tue Jan 29 14:38:40 UTC 2013


Hi,

I have setup a multiple repository builtbot system watching several
branches. Each repository represents a module of my framework and
might depend on and/or influence other modules.

Setup

module1/
    trunk
    branches/release-2.2

module2/
    trunk
    branches/release-2.2

...

Upon checkin into one repository, I trigger builders
(doing checkout/configure/build) of all modules that this one depends
on. Of course this means that these builds need to made on the same
branch as this module. Somehow these buids seem to have different
branch properties set. It seems to be the branch of the last processed
change on them. Therefore, I currently use a homegrown property
"buildbranch", that is set up correctly after checkin and passed to
the triggered builders using set_properties.

The problem is that I want to be able to show all builders on a specific
branch using host:port/waterfall?branch=<branch> . Unfortunately, this
obviously uses the (partly wrong) branch property of the builders for
the selection.

Is there a way to overwrite the branch property on triggered builders? I
tried using the set_properties option for it, but that does not seem to
work. 

You can find my configuration at http://users.dune-project.org/projects/dune-buildbot/repository

Thanks a lot for the help.

Cheers,

Markus




More information about the devel mailing list