diff options
author | Alexander Sulfrian <alexander@sulfrian.net> | 2012-03-26 04:15:25 +0200 |
---|---|---|
committer | Alexander Sulfrian <alexander@sulfrian.net> | 2012-03-26 04:18:51 +0200 |
commit | 06aad8e62fd0b849996e187f1b2f4e88ed1de299 (patch) | |
tree | 570052b70454297e6910ed496ca7b788bea8df5e /GroupBuildStepStatus.py | |
download | buildbot_ext-06aad8e62fd0b849996e187f1b2f4e88ed1de299.tar.gz buildbot_ext-06aad8e62fd0b849996e187f1b2f4e88ed1de299.tar.xz buildbot_ext-06aad8e62fd0b849996e187f1b2f4e88ed1de299.zip |
initial import
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 + |