def start(self): result = self.build.getProperties().render(self.myWaitForFinish) self.waitForFinish = (str(result) == "True") Trigger.start(self) self.waitForFinish = self.myWaitForFinish
def start(self): # Add a log linking to the triggered builders, if supplied. if self.triggeredBuilders: logText = StringIO.StringIO() for builder in self.triggeredBuilders: print >>logText, ('<b><a href="../../../../../../%s">%s' '</a></b><br>' % (builder, builder)) self.addHTMLLog('triggered builds', str(logText.getvalue())) # Dispatch to the super class. Trigger.start(self)
def start(self): sss = self.build.getAllSourceStamps() is_master = False for ss in sss: if not ss.changes: continue for ch in ss.changes: if ch.properties.getProperty("branchname", None) in self.branchList: is_master = True if is_master: return Trigger.start(self) else: self.running = True self.step_status.setText(["(no branch match)"]) self.end(SUCCESS) return