Beispiel #1
0
 def __init__(self, fromaddr, mode="all", categories=None, builders=None, branch="",
              addLogs=False, relayhost="localhost",
              subject="[buildbot-%(result)s] %(blamelist)s: %(branch)s rev %(src)s",
              lookup=None, extraRecipients=[],
              sendToInterestedUsers=True,
              schedulerGroups = [],
              schedulerGroupsSendFirst = 1
              ):
                  
     self.builders = None;
     self.branch = branch;
     
     
     
     AggregateMailNotifier.__init__(self, fromaddr, mode, categories, builders,
              addLogs, relayhost,
              subject,
              lookup, extraRecipients,
              sendToInterestedUsers,
              schedulerGroups,
              schedulerGroupsSendFirst
              )
Beispiel #2
0
    def __init__(
            self,
            fromaddr,
            mode="all",
            categories=None,
            builders=None,
            branch="",
            addLogs=False,
            relayhost="localhost",
            subject="[buildbot-%(result)s] %(blamelist)s: %(branch)s rev %(src)s",
            lookup=None,
            extraRecipients=[],
            sendToInterestedUsers=True,
            schedulerGroups=[],
            schedulerGroupsSendFirst=1):

        self.builders = None
        self.branch = branch

        AggregateMailNotifier.__init__(self, fromaddr, mode, categories,
                                       builders, addLogs, relayhost, subject,
                                       lookup, extraRecipients,
                                       sendToInterestedUsers, schedulerGroups,
                                       schedulerGroupsSendFirst)
Beispiel #3
0
    def buildFinished(self, name, build, results):
        # extend buildFinished to also check branch
        if build.getSourceStamp().branch != self.branch:
            return

        AggregateMailNotifier.buildFinished(self, name, build, results)
Beispiel #4
0
 def buildFinished(self, name, build, results):
     # extend buildFinished to also check branch
     if build.getSourceStamp().branch != self.branch:
         return
         
     AggregateMailNotifier.buildFinished(self, name, build, results)