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

Class RemoteCommand

source code

 twisted.spread.jelly.Jellyable --+        
                                  |        
twisted.spread.flavors.Serializable --+    
                                      |    
   twisted.spread.flavors.Referenceable --+
                                          |
                                         RemoteCommand
Known Subclasses:

Instance Methods
 
__init__(self, remote_command, args, ignore_updates=False, collectStdout=False, decodeRC={0: 0}) source code
 
__repr__(self) source code
 
run(self, step, remote) source code
 
useLog(self, log, closeWhenFinished=False, logfileName=None) source code
 
useLogDelayed(self, logfileName, activateCallBack, closeWhenFinished=False) source code
 
interrupt(self, why) source code
 
remote_update(self, updates)
I am called by the slave's buildbot.slave.bot.SlaveBuilder so I can receive updates from the running remote command.
source code
None
remote_complete(self, failure=None)
Called by the slave's buildbot.slave.bot.SlaveBuilder to notify me the remote command has finished.
source code
 
addStdout(self, data) source code
 
addStderr(self, data) source code
 
addHeader(self, data) source code
 
addToLog(self, logname, data) source code
 
remoteUpdate(*args, **kwargs) source code
 
remoteComplete(self, maybeFailure) source code
 
results(self) source code
 
didFail(self) source code

Inherited from twisted.spread.flavors.Referenceable: __provides__, jellyFor, remoteMessageReceived

Inherited from twisted.spread.flavors.Serializable: processUniqueID

Inherited from twisted.spread.jelly.Jellyable: __providedBy__, getStateFor

Class Variables
  active = False
  rc = None
hash(x)
  debug = False

Inherited from twisted.spread.flavors.Referenceable: __implemented__, perspective

Method Details

remote_update(self, updates)

source code 

I am called by the slave's buildbot.slave.bot.SlaveBuilder so I can receive updates from the running remote command.

Parameters:
  • updates (list of [object, int]) - list of updates from the remote command

remote_complete(self, failure=None)

source code 

Called by the slave's buildbot.slave.bot.SlaveBuilder to notify me the remote command has finished.

Parameters:
  • failure (twisted.python.failure.Failure or None)
Returns: None

remoteUpdate(*args, **kwargs)

source code 
Decorators:
  • @metrics.countMethod('RemoteCommand.remoteUpdate()')