aboutsummaryrefslogtreecommitdiffstats
path: root/GroupBuildStepStatus.py
blob: 84df5096dfe5ae8abf328a153fe3f1d71c3560a3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
import ExLogFile
from buildbot.status.builder import BuildStepStatus

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