Re: MailNotifier and logfiles with Gnome Build Brigade?

From: "Johannes Ring" <johannr simula no>

> 1. When a build fails I would like that an email is sent out to the
> project's mailing list. Is there a way to do this with the Gnome Build
> Brigade? Is it possible to use Buildbots MailNotifier class somehow?

Yes, you should be able to do that, if fact this is the most useful use of the
MailNotifier, IMHO. I have not tested it after the move to jhbuild svn, but this
should still works. On the master.cfg, you have something like that:

   c['status'] = []

You could define a lists of mails per projects, something like that:

  # mailNotify hashmap: put the list of emails to whom the compilation failures will be sent to
  # mailNotify['project'] = ['email1 server com', 'email2 server com']

And then add some notifiers, something like that:

  if mailNotify.has_key(project):

This worked when the jhbuild-buildbot scripts were on the Igalia CVS. This should
still works.


API (apinheiro igalia com)

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]