Package buildbot :: Package process :: Module buildstep :: Class LoggingBuildStep
[frames] | no frames]

Class LoggingBuildStep

source code

properties.PropertiesMixin --+    
                             |    
                     BuildStep --+
                                 |
                                LoggingBuildStep
Known Subclasses:

Instance Methods
 
__init__(self, logfiles={}, lazylogfiles=False, log_eval_func=None, *args, **kwargs) source code
 
addLogFile(self, logname, filename) source code
 
buildCommandKwargs(self) source code
 
startCommand(self, cmd, errorMessages=[]) source code
 
setupLogfiles(self, cmd, logfiles) source code
 
interrupt(self, reason) source code
 
checkDisconnect(self, f) source code
 
commandComplete(self, cmd) source code
 
createSummary(self, stdio) source code
 
evaluateCommand(self, cmd) source code
 
getText(self, cmd, results) source code
 
getText2(self, cmd, results) source code
 
maybeGetText2(self, cmd, results) source code
 
setStatus(self, cmd, results) source code

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

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

Class Variables
  progressMetrics = ('output')
  logfiles = {}
  parms = ['name', 'locks', 'haltOnFailure', 'flunkOnWarnings', ...
  cmd = None
hash(x)
  renderables = ['logfiles', 'lazylogfiles']

Inherited from BuildStep: __implemented__, alwaysRun, build, doStepIf, flunkOnFailure, flunkOnWarnings, haltOnFailure, hideStepIf, locks, name, progress, set_runtime_properties, step_status, useProgress, warnOnFailure, warnOnWarnings

Method Details

__init__(self, logfiles={}, lazylogfiles=False, log_eval_func=None, *args, **kwargs)
(Constructor)

source code 
Overrides: BuildStep.__init__

startCommand(self, cmd, errorMessages=[])

source code 
Parameters:
  • cmd - a suitable RemoteCommand which will be launched, with all output being put into our self.stdio_log LogFile

interrupt(self, reason)

source code 
Overrides: BuildStep.interrupt

Class Variable Details

parms

Value:
['name',
 'locks',
 'haltOnFailure',
 'flunkOnWarnings',
 'flunkOnFailure',
 'warnOnWarnings',
 'warnOnFailure',
 'alwaysRun',
...