[Buildbot-devel] How to cancel related parralel build if one fail, and concatenate success results?
Pierre Tardy
tardyp at gmail.com
Sat Apr 9 21:58:04 UTC 2011
On Sat, Apr 9, 2011 at 9:01 AM, aivars.kalvans at gmail.com <
aivars.kalvans at gmail.com> wrote:
> Hi,
>
> We are sending email only on build failure from our 20+ builders and don't
> bother developers if build succeeds.To reduce number of emails we have only
> one on-commit builder (for the most common development platform) which on
> successful build triggers other (slower) builders (HP-UX, AIX, Solaris,
> etc.). So on-commit builder ensures that all necessary files are checked in,
> dependency versions are correct and code compiles in clean environment. If
> on-commit builder fails, developer gets single email. If it succeeds,
> developer may get few emails from other builders.
>
>
> http://buildbot.net/buildbot/docs/current/Triggerable-Scheduler.html#Triggerable-Scheduler
That looks like a good solution. What I did not see about Trigger is that it
can trigger several schedulers at once, and wait for everyone to finish
before succeeding.
What Trigger does not do is to let user choose to cancel other parallel
builder at the first fail.
Looking at the code, it should be easy to change.
Regards,
Pierre
>
>
> On Fri, Apr 8, 2011 at 11:55 AM, Pierre Tardy <tardyp at gmail.com> wrote:
>
>> Hello,
>>
>> In our buildbot configuration, we are using several builders to build each
>> patches submitted in gerrit.
>>
>> People are starting to complain they are receiving too many mails. Its
>> mandatory for us that they dont start to filter them out...
>>
>> I'm looking at solution on how to concatenate result mails. The best would
>> be:
>> for each patch submitted to gerrit, aka sourcestamp:
>> - send one mail (or gerritstatuspush) at the end of the first failing
>> builder and cancel the other builders
>> - send one mail at the end of all the builders if everything is passed.
>>
>> How can I do that with buildbot?
>>
>> Regards,
>> Pierre
>>
>>
>> ------------------------------------------------------------------------------
>> Xperia(TM) PLAY
>> It's a major breakthrough. An authentic gaming
>> smartphone on the nation's most reliable network.
>> And it wants your games.
>> http://p.sf.net/sfu/verizon-sfdev
>> _______________________________________________
>> Buildbot-devel mailing list
>> Buildbot-devel at lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/buildbot-devel
>>
>>
>
>
> --
> Aivars
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://buildbot.net/pipermail/devel/attachments/20110409/aacde477/attachment.html>
More information about the devel
mailing list