[Buildbot-devel] trigger a builder from another builder: a bit of confusion

Fulvio Cervone fcervone at me.com
Fri Apr 1 08:14:24 UTC 2011


Buildbot users/devs,

I am planning to create a builder that will be triggered by a step in another builder...but i am not getting the logic right, so before writing code i would like to know how to get this right from the design perspective.

I have 3 builders:

A that build
B that test
C that update tools

and a factory for each of them (fA, fB and fC)

each builder has a scheduler set (sA,and sB runs every hour, sC every 8 hours)

now i would like to add a check on C, so if there are certain conditions it will be triggered, so i planned to introduce builder D, that will check and trigger C if the conditions are satisfied.

Looking at the triggerable steps and builders, I get that i have to create a triggerable builder, so I made 

Builder D, that has the factory fD(that will run the steps to check if C should be run or not)

and the scheduler sD (triggerable that is pointing to the builder C)

Now where should i put the trigger step? From what I understand it should go in fD, right after the step to check if C should be run or not.

Is this correct or did I got it all wrong ?

Thanks!




More information about the devel mailing list