Skip to content

Commit

Permalink
Fix default status handling in MasterShellCommand
Browse files Browse the repository at this point in the history
Now flunkOnFailure and haltOnFailure default to True
  • Loading branch information
djmitche committed Jan 1, 2011
1 parent 67ec0ec commit ea8407f
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
4 changes: 4 additions & 0 deletions master/NEWS
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,10 @@ their default.css file has already been created. If you currently use the
default and want to get the new version, just overwrite public_html/default.css
with the copy in this version.

** Deprecations, Removals, and Non-Compatible Changes

*** MasterShellCommand now defaults to haltOnFailure=True and
flunkOnFailure=True

* Buildbot 0.8.3 (December 19, 2010)

Expand Down
4 changes: 3 additions & 1 deletion master/buildbot/steps/master.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,13 @@ class MasterShellCommand(BuildStep):
"""
Run a shell command locally - on the buildmaster. The shell command
COMMAND is specified just as for a RemoteShellCommand. Note that extra
logfiles are not sopported.
logfiles are not supported.
"""
name='MasterShellCommand'
description='Running'
descriptionDone='Ran'
haltOnFailure = True
flunkOnFailure = True

def __init__(self, command,
description=None, descriptionDone=None,
Expand Down

0 comments on commit ea8407f

Please sign in to comment.