This is an abstract base class, suitable for inheritance by all
BuildSteps that invoke RemoteCommands which emit stdout/stderr
messages.
|
|
|
addLogFile(self,
logname,
filename)
This allows to add logfiles after construction, but before calling
startCommand(). |
source code
|
|
|
|
|
setupLogfiles(self,
cmd,
logfiles)
Set up any additional logfiles= logs. |
source code
|
|
|
interrupt(self,
reason)
Halt the command, either because the user has decided to cancel the
build ('reason' is a string), or because the slave has disconnected
('reason' is a ConnectionLost Failure). |
source code
|
|
|
|
|
|
|
createSummary(self,
log)
To create summary logs, do something like this: warnings =
grep('^Warning:', log.getText()) self.addCompleteLog('warnings',
warnings) |
source code
|
|
|
|
|
|
|
getText2(self,
cmd,
results)
We have decided to add a short note about ourselves to the overall
build description, probably because something went wrong. |
source code
|
|
|
|
|
|
Inherited from BuildStep :
acquireLocks ,
addCompleteLog ,
addFactoryArguments ,
addHTMLLog ,
addLog ,
addLogObserver ,
addURL ,
describe ,
failed ,
finished ,
getLog ,
getProperty ,
getSlaveName ,
getStepFactory ,
releaseLocks ,
runCommand ,
setBuild ,
setBuildSlave ,
setDefaultWorkdir ,
setProgress ,
setProperty ,
setStepStatus ,
setupProgress ,
slaveVersion ,
slaveVersionIsOlderThan ,
start ,
startStep
|