Package buildbot :: Package steps :: Module shell :: Class SetProperty
[frames] | no frames]

Class SetProperty

source code

   process.buildstep.BuildStep --+        
                                 |        
process.buildstep.LoggingBuildStep --+    
                                     |    
                          ShellCommand --+
                                         |
                                        SetProperty

Instance Methods
 
__init__(self, property=None, extract_fn=None, strip=True, **kwargs) source code
 
commandComplete(self, cmd)
This is a general-purpose hook method for subclasses.
source code
 
createSummary(self, log)
To create summary logs, do something like this: warnings = grep('^Warning:', log.getText()) self.addCompleteLog('warnings', warnings)
source code
 
getText(self, cmd, results) source code

Inherited from ShellCommand: checkForOldSlaveAndLogfiles, describe, setCommand, setDefaultWorkdir, setStepStatus, setupEnvironment, start

Inherited from process.buildstep.LoggingBuildStep: addLogFile, checkDisconnect, evaluateCommand, getText2, interrupt, maybeGetText2, setStatus, setupLogfiles, startCommand

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

Class Variables
  name = 'setproperty'

Inherited from ShellCommand: description, descriptionDone, flunkOnFailure

Inherited from process.buildstep.LoggingBuildStep: cmd, parms, progressMetrics

Inherited from process.buildstep.BuildStep: alwaysRun, doStepIf, flunkOnWarnings, haltOnFailure, locks, useProgress, warnOnFailure, warnOnWarnings

Instance Variables

Inherited from ShellCommand: command, lazylogfiles, logfiles

Inherited from process.buildstep.BuildStep: build, progress, step_status

Method Details

__init__(self, property=None, extract_fn=None, strip=True, **kwargs)
(Constructor)

source code 
Overrides: process.buildstep.BuildStep.__init__

commandComplete(self, cmd)

source code 

This is a general-purpose hook method for subclasses. It will be called after the remote command has finished, but before any of the other hook functions are called.

Overrides: process.buildstep.LoggingBuildStep.commandComplete
(inherited documentation)

createSummary(self, log)

source code 

To create summary logs, do something like this: warnings = grep('^Warning:', log.getText()) self.addCompleteLog('warnings', warnings)

Overrides: process.buildstep.LoggingBuildStep.createSummary
(inherited documentation)

getText(self, cmd, results)

source code 
Overrides: process.buildstep.LoggingBuildStep.getText