[users at bb.net] Specify different branches for different repos

Riccardo Corsi riccardo.corsi at kairos3d.it
Mon Apr 4 08:24:38 UTC 2016


Hi Everyone,

I have the following scenario, using buildbot 0.8.12:
project A with its own builder A and project B with builder B.
The 2 projects are based on 2 different git repos.

Now i have a "builder All" which simply triggers builder A and B through
respective trigger schedulers, but I want to be able to specify 2 on the
web ui 2 different git branches to be used for A and B.
I have added a custom parameter "branch_for_b" which I then read as
property in the builderB's git step like this:
buildFactory.addStep(steps.Git(
      branch = util.Property('branch_for_b', default='develop')
      ...)

But when I specify another branch in the standard branch field of the web
ui (which I intended for project A) it overrides whatever I set in
branch_for_b, as if B git's step is ignoring the property I'm passing and
reading from the "main" branch field.

How am I supposed to handle this case?
Thank you,
Ricky
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.buildbot.net/pipermail/users/attachments/20160404/c93c83aa/attachment.html>


More information about the users mailing list