[Buildbot-devel] MailNotifier for starting a build?

Tom Prince tom.prince at ualberta.net
Thu Sep 6 22:08:56 UTC 2012


Fredric Dorothy <fredricdorothy at gmail.com> writes:

> Hello all,
>
> Is there some way to send out an email when a build starts using the
> MailNotifier? From what I can tell from the documentation this is not
> supported. Would I need to write a custom build step to achieve this
> or is there some easier way to achieve the same effect that I'm
> missing?

You'll need to add a custom status listner that responds to the
`buildStarted` event. (For an example, see
https://github.com/Kami/buildbot/blob/27ae793fd6905a3d39c0a6a8d8ee29767bcd1599/master/buildbot/status/status_github_commit.py#L99
for an example.




More information about the devel mailing list