diff options
Diffstat (limited to 'GroupBuildStepStatus.py')
-rw-r--r-- | GroupBuildStepStatus.py | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/GroupBuildStepStatus.py b/GroupBuildStepStatus.py new file mode 100644 index 0000000..84df509 --- /dev/null +++ b/GroupBuildStepStatus.py @@ -0,0 +1,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 + |