buildbot questions

Bradley Giesbrecht pixilla at macports.org
Tue Aug 2 12:40:02 PDT 2011


On Aug 2, 2011, at 12:29 PM, William Siegrist wrote:

> On Aug 2, 2011, at 12:26 PM, Marko Käning wrote:
> 
>> 
>> On Aug 2, 2011, at 6:06 PM, William Siegrist wrote:
>>> The buildbot will eventually email committers and maintainers when something fails.  
>> 
>> 	I'd vote for an (perhaps opt-in) email sending possibility to maintainers already now, since it simply makes so much sense!!!
> 
> Start here: http://buildbot.net/buildbot/docs/current/
> 
> Look for MailNotifier. If you can figure it out, the help would be appreciated, otherwise we'll get to it eventually. 

Having a summarized build result emailed to a mailing list (buildbot at macports.org) would be a nice start.

From http://buildbot.net/buildbot/docs/current/:

> For example, if only short emails are desired (e.g., for delivery to phones)
> 
>     from buildbot.status.builder import Results
>     def messageFormatter(mode, name, build, results, master_status):
>         result = Results[results]
> 
>         text = list()
>         text.append("STATUS: %s" % result.title())
>         return {
>             'body' : "\n".join(text),
>             'type' : 'plain'
>         }
> 
>     mn = MailNotifier(fromaddr="buildbot at example.org",
>                       sendToInterestedUsers=False,
>                       mode='problem',
>                       extraRecipients=['listaddr at example.org'],
>                       messageFormatter=messageFormatter)
> 


Regards,
Bradley Giesbrecht (pixilla)




-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-dev/attachments/20110802/7a84164f/attachment-0001.html>


More information about the macports-dev mailing list