aboutsummaryrefslogblamecommitdiffstats
path: root/GroupBuildStepStatus.py
blob: 5b98a181f0c168482647b00ad23d6851ce3a4b5a (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
                                                   
                               











                                                                           
from buildbot.status.builder import BuildStepStatus
from ExLogFile import ExLogFile

class GroupBuildStepStatus(BuildStepStatus):
    def __init__(self, step_status, step_number):
        self.step_status = step_status
        BuildStepStatus.__init__(self, step_status.getBuild(), step_number)

    def addLog(self, name):
        log = self.step_status.addLog(self.getName() + '-' + name)
        log = ExLogFile(log = log, realname = name)
        self.logs.append(log)
        return log