Ticket #267 (closed enhancement: fixed)

Opened 5 years ago

Last modified 4 years ago

Add "failure to success" as a mode of MailNotifier

Reported by: soundgeek Owned by: marcusl
Priority: minor Milestone: 0.7.11
Version: 0.7.7 Keywords:
Cc: macke@…

Description

Currently, MailNotifier? supports 3 modes:

all

  • Send mail about all builds, bothpassing and failing

failing

  • Only send mail about builds which fail

problem

  • Only send mail about a build which failed when the previous build has passed. If your builds usually pass, then this will only send mail when a problem occurs.

There needs to be a mode which marks the transition from failure to success. Right now, I can notify the team when the build breaks but not when it is later fixed.

Similar to Ticket #171 but for the MailNotifier?.

Change History

comment:1 Changed 5 years ago by soundgeek

  • Type changed from defect to enhancement

comment:2 Changed 4 years ago by dustin

  • Milestone changed from undecided to 0.7.+

comment:3 Changed 4 years ago by marcusl

  • Cc macke@… added
  • Owner set to marcusl
  • Status changed from new to assigned
  • Milestone changed from 0.7.+ to 0.7.11

I just got an internal request for this, so I'll see if I can make it happen. Should be pretty easy.

comment:4 Changed 4 years ago by marcusl

  • Status changed from assigned to closed
  • Resolution set to fixed

Committed as a 'change' mode. Seems to work when I tested it locally, although I couldn't get my unit-test to succeed. (I think the mock objects are a bit weak). There are no test for 'problem' mode either.

See { http://github.com/djmitche/buildbot/commit/a421d38875b41e38d9a7a976235d80a1e9cd2415 the commit] for details.

Note: See TracTickets for help on using tickets.