[Buildbot-devel] connect two builiders in buildbot
Mo Jia
life.130815 at gmail.com
Tue Apr 22 12:05:35 UTC 2014
2014-04-22 20:03 GMT+08:00 nachaat hassis <nachaat05 at yahoo.fr>:
> Hello,
> im not an expert here but there is a param for Trigger:
> alwaysRun=False/True.
> You may try it like this:
>
> Total_Check_Build_1.addStep(trigger.Trigger(schedulerNames=['test1'],
> waitForFinish=True))
>
> Total_Check_Build_1.addStep(trigger.Trigger(schedulerNames=['test2'],
> waitForFinish=True, alwaysRun=False))
>
I just find out the haltOnFailure args is a
general key arg for BuildStep .
So just pass haltOnFailure=True . I can get I want .
> Cheers.
> Mo Jia <life.130815 at gmail.com> schrieb am 13:58 Dienstag, 22.April 2014:
> 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
>>>
>>
>
> ------------------------------------------------------------------------------
> 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
>
>
More information about the devel
mailing list