From 06aad8e62fd0b849996e187f1b2f4e88ed1de299 Mon Sep 17 00:00:00 2001 From: Alexander Sulfrian Date: Mon, 26 Mar 2012 04:15:25 +0200 Subject: initial import --- GroupBuildStepStatus.py | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 GroupBuildStepStatus.py (limited to 'GroupBuildStepStatus.py') 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 + -- cgit v1.2.3