Ticket #695 (new support-request)

Opened 6 weeks ago

Last modified 5 weeks ago

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

Changed 6 weeks ago by jocelyn

  • milestone changed from undecided to 0.8.+

Changed 6 weeks 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.

Changed 5 weeks ago by jocelyn

Thank for your help. Do you know how the method getSummaryStatistic() works cause I'm a bit confuse?

Thank

Jocelyn

Changed 5 weeks 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.