[Buildbot-devel] connect two builiders in buildbot

Vasily vasslitvinov at pisem.net
Tue Apr 22 12:16:13 UTC 2014


My suggestion was to actually chain your triggers, like this:

test1.addStep(...) # steps you do in test1
test1.addStep(trigger.Trigger(schedulerNames=['test2'], waitForFinish=False)

test2.addStep(...) # test2 jobs
test2.addStep(trigger.Trigger(schedulerNames=['test3'], waitForFinish=False)

and so on.

Hope that helps,
Vasily


2014-04-22 15:58 GMT+04:00 Mo Jia <life.130815 at gmail.com>:

> Thank you , I try like this :
>
>
>
> c['schedulers'].append (  triggerable.Triggerable(name="test1",
>                             builderNames=["test1"])
>                        )
>
> c['schedulers'].append (  triggerable.Triggerable(name="test2",
>                             builderNames=["test2"])
>                        )
>
> c['schedulers'].append(ForceScheduler(
>                             name="Total_Check_Build_1",
>                             builderNames=["Total_Check_Build_1"]))
>
>
> Total_Check_Build_1.addStep(trigger.Trigger(schedulerNames=['test1'],
>                                        waitForFinish=True))
>
> Total_Check_Build_1.addStep(trigger.Trigger(schedulerNames=['test2'],
>                                        waitForFinish=True))
>
>
> I have a question about . When I force build Total_Check_Build_1 , it
> will tirgger  the test1 builder to build . But When I stop test1 ,The
> Total_Check_Build_1 will still go on trigger test2 .
> So there is no "haltOnFailure"  in trigger.Trigger ?
>
> I have not try when a trigger builder was failed  what it will do .
> For me , both handly stop or builder failed the triggers  should not go on.
>
> Any suggestion?
>
>
>
> 2014-04-21 20:46 GMT+08:00 Vasily <vasslitvinov at pisem.net>:
> > Hello,
> >
> > Looks like you need to use Trigger step to start 2nd part of your
> splitted
> > builder from the 1st part.
> > That should be described in the manual.
> >
> > Thanks,
> > Vasily
> >
> > 21.04.2014 16:01 пользователь "Mo Jia" <life.130815 at gmail.com> написал:
> >>
> >> Hi everyone :
> >>
> >>       I don't want build a big builder , So splite it two many
> >> builders ,But how can I so something like : if one build sucess , then
> >> I start a another build. So I can separatly build a single litte
> >> builders when I just want to see this builder answer and I also have a
> >> need in this situation : Need build all builders and the builder are
> >> interdependence.
> >>      The  nextBuild args in BuilderConfig  seem can't complete my needs
> .
> >>
> >>
> >>
> ------------------------------------------------------------------------------
> >> Start Your Social Network Today - Download eXo Platform
> >> Build your Enterprise Intranet with eXo Platform Software
> >> Java Based Open Source Intranet - Social, Extensible, Cloud Ready
> >> Get Started Now And Turn Your Intranet Into A Collaboration Platform
> >> http://p.sf.net/sfu/ExoPlatform
> >> _______________________________________________
> >> 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/20140422/dc69516a/attachment.html>


More information about the devel mailing list