[Buildbot-devel] Multiple repositories/branches and branch property of triggered builders
Tom Prince
tom.prince at ualberta.net
Tue Jan 29 16:13:15 UTC 2013
Markus Blatt <markus at dr-blatt.de> writes:
> Of course this means that these builds need to made on the same
> branch as this module.
There is no "of course" about it. It may be true in your case, or even
many cases, but not all, and buildbot needs to support those.
> Somehow these buids seem to have different branch properties set.
The branch isn't actually what buildbot refers to as a property. It is
rather a source-stamp attribute (of which a build will have one for each
codebase).
They can be accessed using `Interpolate('%(src:<codebase>:<attribute>)s')`.
> 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.
As mentioned above, `branch` isn't actually a property, so can't be set
with `set_properties`. Instead, you can control is with `sourceStamp`,
as documented here:
http://buildbot.net/buildbot/docs/current/manual/cfg-buildsteps.html#step-Trigger
Tom
More information about the devel
mailing list