[Buildbot] #956: Send an email notification to the person who forces/rebuilds a build

Buildbot trac trac at buildbot.net
Sat Mar 19 23:25:41 UTC 2016


#956: Send an email notification to the person who forces/rebuilds a build
------------------------+-----------------------
Reporter:  yogawa@…     |       Owner:
    Type:  enhancement  |      Status:  reopened
Priority:  major        |   Milestone:  0.9.+
 Version:  0.8.1        |  Resolution:
Keywords:  mail, users  |
------------------------+-----------------------

Comment (by rayalan):

 So this could be as straight-forward as having the scheduler write a
 property ("schedulertype") to the buildset, and then having the mail
 notifier read that property and notify `if "force' in self.mode and
 schedulertype == 'forced'`.

 However, that approach seems a bit niche. Is there need for a more
 flexible solution? For example, a more flexible solution would be to make
 the mode `schedulerdependent`, pass in a function to determine which
 schedulertypes were dependent, and give each scheduler a type. The
 decision code would then be something like:

 ```
 if "schedulerdependent" in self.mode and
 self.isSchedulerSignificant(build.getProperty('schedulertype')):
    return True
 ```

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


More information about the bugs mailing list