Ticket #87: buildset.py.diff
| File buildset.py.diff, 1.4 kB (added by rochg, 1 year ago) |
|---|
-
/root/porting/buildbot-0.7.5/buildbot/buildset.py
old new 10 10 source.revision), or a build of a certain set of Changes 11 11 (source.changes=list).""" 12 12 13 def __init__(self, builderNames, source, reason=None, bsid=None ):13 def __init__(self, builderNames, source, reason=None, bsid=None, custom_props=None): 14 14 """ 15 15 @param source: a L{buildbot.sourcestamp.SourceStamp} 16 16 """ 17 17 self.builderNames = builderNames 18 18 self.source = source 19 19 self.reason = reason 20 self.custom_props = custom_props 20 21 self.stillHopeful = True 21 22 self.status = bss = builder.BuildSetStatus(source, reason, 22 23 builderNames, bsid) … … 32 33 self.requests = [] 33 34 reqs = [] 34 35 36 if None == self.custom_props: 37 self.custom_props = {} 38 35 39 # create the requests 36 40 for b in builders: 37 req = base.BuildRequest(self.reason, self.source, b.name) 41 req = base.BuildRequest(self.reason, 42 self.source, 43 self.custom_props, 44 b.name) 38 45 reqs.append((b, req)) 39 46 self.requests.append(req) 40 47 d = req.waitUntilFinished()
![[Buildbot Logo]](/trac/chrome/site/header-text-transparent.png)