[Buildbot] #3348: MailNotifier Unable to find any of email

Buildbot trac trac at buildbot.net
Thu Sep 3 16:40:14 UTC 2015


#3348: MailNotifier Unable to find any of email
----------------------+------------------------
Reporter:  jeremad    |       Owner:
    Type:  undecided  |      Status:  new
Priority:  major      |   Milestone:  undecided
 Version:  0.8.12     |  Resolution:
Keywords:             |
----------------------+------------------------

Comment (by sa2ajj):

 What fields are available where?

 The information provided in web hook events is described in
 [https://developer.github.com/v3/activity/events/types/#pushevent Push
 Event] and
 [https://developer.github.com/v3/activity/events/types/#pullrequestevent
 Pull Request Event] respectively.

 As for the information available to your `messageFormatter`, there's
 plenty.
 [https://github.com/buildbot/buildbot/blob/eight/master/buildbot/status/mail.py#L185
 defaultMessage] provides a good example of how to use the information.
 `build` parameter is an actual build and then you can extract what you
 want from it.
 [https://github.com/buildbot/buildbot/blob/eight/master/buildbot/status/mail.py#L746
 getRecipients] would give you an idea how the recipients are extracted.

 I'm sorry if it's too complicated, however with the current implementation
 you'd need to do some coding.

 (And do not forget to look at the things linked in my previous comment)

--
Ticket URL: <http://trac.buildbot.net/ticket/3348#comment:6>
Buildbot <http://buildbot.net/>
Buildbot: build/test automation


More information about the bugs mailing list