Package buildbot :: Package slave :: Module bot :: Class SlaveBuilder
[frames | no frames]

Class SlaveBuilder

Jellyable --+        
            |        
 Serializable --+    
                |    
    Referenceable --+
                    |
          Service --+
                    |
                   SlaveBuilder


This is the local representation of a single Builder: it handles a single kind of build (like an all-warnings build). It has a name and a home directory. The rest of its behavior is determined by the master.
Method Summary
  __init__(self, name, not_really)
  __repr__(self)
  ackComplete(self, dummy)
  ackUpdate(self, acknum)
  activity(self)
  commandComplete(self, failure)
  lostRemote(self, remote)
  lostRemoteStep(self, remotestep)
  remote_interruptCommand(self, stepId, why)
Halt the current step.
  remote_ping(self)
  remote_print(self, message)
  remote_setMaster(self, remote)
  remote_shutdown(self)
  remote_startBuild(self)
This is invoked before the first step of any new build is run.
  remote_startCommand(self, stepref, stepId, command, args)
This gets invoked by buildbot.process.step.RemoteCommand.start, as part of various master-side BuildSteps, to start various commands that actually do the build.
  sendUpdate(self, data)
This sends the status update to the master-side buildbot.process.step.RemoteCommand object, giving it a sequence number in the process.
  setBuilddir(self, builddir)
  setServiceParent(self, parent)
  stopCommand(self)
Make any currently-running command die, with no further status output.
  stopService(self)
    Inherited from Referenceable
  jellyFor(self, jellier)
(internal)
  remoteMessageReceived(self, broker, message, args, kw)
A remote message has been received.
    Inherited from Serializable
  processUniqueID(self)
Return an ID which uniquely represents this object for this process.
    Inherited from Jellyable
  getStateFor(self, jellier)
    Inherited from Service
  __getstate__(self)
  disownServiceParent(self)
  privilegedStartService(self)
  setName(self, name)
  startService(self)

Class Variable Summary
NoneType build = None                                                                  
NoneType command = None                                                                  
NoneType remote = None                                                                  
NoneType remoteStep = None                                                                  
bool stopCommandOnShutdown = True
    Inherited from Referenceable
Implements __implemented__ = <implementedBy twisted.spread.flavors....
ClassProvides __provides__ = <zope.interface.declarations.ClassProvide...
NoneType perspective = None                                                                  
    Inherited from Jellyable
ClassProvides __providedBy__ = <zope.interface.declarations.ClassProvi...
    Inherited from Service
NoneType name = None                                                                  
NoneType parent = None                                                                  
int running = 0                                                                     

Method Details

remote_interruptCommand(self, stepId, why)

Halt the current step.

remote_startBuild(self)

This is invoked before the first step of any new build is run. It creates a new SlaveBuild object, which holds slave-side state from one step to the next.

remote_startCommand(self, stepref, stepId, command, args)

This gets invoked by buildbot.process.step.RemoteCommand.start, as part of various master-side BuildSteps, to start various commands that actually do the build. I return nothing. Eventually I will call .commandComplete() to notify the master-side RemoteCommand that I'm done.

sendUpdate(self, data)

This sends the status update to the master-side buildbot.process.step.RemoteCommand object, giving it a sequence number in the process. It adds the update to a queue, and asks the master to acknowledge the update so it can be removed from that queue.

stopCommand(self)

Make any currently-running command die, with no further status output. This is used when the buildslave is shutting down or the connection to the master has been lost. Interrupt the command, silence it, and then forget about it.

Class Variable Details

build

Type:
NoneType
Value:
None                                                                  

command

Type:
NoneType
Value:
None                                                                  

remote

Type:
NoneType
Value:
None                                                                  

remoteStep

Type:
NoneType
Value:
None                                                                  

stopCommandOnShutdown

Type:
bool
Value:
True                                                                   

Generated by Epydoc 2.1 on Sun Dec 10 22:04:45 2006 http://epydoc.sf.net