blob: 2a6b2cdbd5ed32ade35aa158d8f3ac08475505f7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
from buildbot.process import buildstep
from buildbot.status.results import SUCCESS, FAILURE
class NoOp(buildstep.BuildStep):
"""
A build step that does nothing except finish with a caller-
supplied status (default SUCCESS).
"""
parms = buildstep.BuildStep.parms + ['result']
result = SUCCESS
flunkOnFailure = False
def start(self):
self.step_status.setText([self.name])
self.finished(self.result)
|