Package buildbot :: Package steps :: Module master :: Class MasterShellCommand
[frames] | no frames]

Class MasterShellCommand

source code

                            object --+    
                                     |    
process.properties.PropertiesMixin --+    
                                     |    
           process.buildstep.BuildStep --+
                                         |
                                        MasterShellCommand

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 supported.

Nested Classes
  LocalPP
Instance Methods
 
__init__(self, command, description=None, descriptionDone=None, descriptionSuffix=None, env=None, path=None, usePTY=0, interruptSignal='KILL', **kwargs)
x.__init__(...) initializes x; see help(type(x)) for signature
source code
 
start(self) source code
 
processEnded(self, status_object) source code
 
describe(self, done=False) source code
 
interrupt(self, reason) source code

Inherited from process.buildstep.BuildStep: __provides__, acquireLocks, addCompleteLog, addFactoryArguments, addHTMLLog, addLog, addLogObserver, addURL, failed, finished, getLog, getSlaveName, releaseLocks, runCommand, setBuild, setBuildSlave, setDefaultWorkdir, setProgress, setStepStatus, setupProgress, slaveVersion, slaveVersionIsOlderThan, startStep

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Inherited from process.properties.PropertiesMixin: __providedBy__, getProperties, getProperty, hasProperty, has_key, render, setProperty

Static Methods

Inherited from process.buildstep.BuildStep: __new__

Class Variables
  name = 'MasterShellCommand'
  description = 'Running'
  descriptionDone = 'Ran'
  descriptionSuffix = None
hash(x)
  renderables = ['command', 'env', 'description', 'descriptionDo...
  haltOnFailure = True
  flunkOnFailure = True

Inherited from process.buildstep.BuildStep: __implemented__, alwaysRun, build, doStepIf, flunkOnWarnings, hideStepIf, locks, parms, progress, progressMetrics, set_runtime_properties, step_status, useProgress, warnOnFailure, warnOnWarnings

Properties

Inherited from object: __class__

Method Details

__init__(self, command, description=None, descriptionDone=None, descriptionSuffix=None, env=None, path=None, usePTY=0, interruptSignal='KILL', **kwargs)
(Constructor)

source code 

x.__init__(...) initializes x; see help(type(x)) for signature

Overrides: object.__init__
(inherited documentation)

start(self)

source code 
Overrides: process.buildstep.BuildStep.start

describe(self, done=False)

source code 
Overrides: process.buildstep.BuildStep.describe

interrupt(self, reason)

source code 
Overrides: process.buildstep.BuildStep.interrupt

Class Variable Details

renderables

Value:
['command',
 'env',
 'description',
 'descriptionDone',
 'descriptionSuffix']