[Buildbot-devel] connect two builiders in buildbot

nachaat hassis nachaat05 at yahoo.fr
Tue Apr 22 12:03:48 UTC 2014


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))


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://buildbot.net/pipermail/devel/attachments/20140422/3891557c/attachment.html>


More information about the devel mailing list