This is the master-side representative for a remote buildbot slave.
There is exactly one for each slave described in the config file (the
c['slaves'] list). When buildbots connect in (.attach), they get a
reference to this instance. The BotMaster object is stashed as the
.botmaster attribute. The BotMaster is also our '.parent' Service.
I represent a build slave -- a remote machine capable of running
builds. I am instantiated by the configuration file, and can be
subclassed to add extra functionality.
|
__init__(self,
name,
password,
max_builds=None,
notify_on_missing=[ ] ,
missing_timeout=3600,
properties={ } ,
locks=None) |
source code
|
|
|
update(self,
new)
Given a new BuildSlave, configure this one identically. |
source code
|
|
|
|
|
|
|
locksAvailable(self)
I am called to see if all the locks I depend on are available, in
which I return True, otherwise I return False |
source code
|
|
|
|
|
releaseLocks(self)
I am called to release any locks after a build has finished |
source code
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
updateSlaveStatus(self,
buildStarted=None,
buildFinished=None) |
source code
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Inherited from twisted.spread.pb.Avatar :
__providedBy__ ,
perspectiveMessageReceived
Inherited from twisted.application.service.MultiService :
__iter__ ,
addService ,
getServiceNamed ,
privilegedStartService ,
removeService ,
startService ,
stopService
Inherited from twisted.application.service.Service :
__getstate__ ,
disownServiceParent ,
setName ,
setServiceParent
|