Ticket #695 (closed support-request: worksforme)
Improve mail notifier
| Reported by: | jocelyn | Owned by: | |
|---|---|---|---|
| Priority: | major | Milestone: | undecided |
| Version: | 0.7.11 | Keywords: | mail notifier |
| Cc: |
Description (last modified by dustin) (diff)
Hi, I'm a new buildbot user and I'd like to know if it's possible to send more informations about the compile thank to mail notifier? For exemple I'd like to receive by email the compile time elapsed.
Regards
Jocelyn
Change History
comment:2 Changed 3 years ago by dustin
- Type changed from undecided to support-request
- Description modified (diff)
- Milestone changed from 0.8.+ to undecided
See the messageFormatter in the documentation. It may take a bit of work to extract that particular piece of information, but it's available.
comment:3 Changed 3 years ago by jocelyn
Thank for your help. Do you know how the method getSummaryStatistic() works cause I'm a bit confuse?
Thank
Jocelyn
comment:4 Changed 3 years ago by dustin
It's a variant on Python's reduce that can sum (or multiply, concatenate, or whatever) a particular attribute of all steps in a build.
def getSummaryStatistic(self, name, summary_fn, initial_value=_sentinel):
"""Summarize the named statistic over all steps in which it
exists, using combination_fn and initial_value to combine multiple
results into a single result. This translates to a call to Python's
X{reduce}::
return reduce(summary_fn, step_stats_list, initial_value)
"""
Note: See
TracTickets for help on using
tickets.
![[Buildbot Logo]](/chrome/site/header-text-transparent.png)