Package buildbot :: Module interfaces :: Class IBuilderControl
[frames] | no frames]

Class IBuilderControl

source code

zope.interface.Interface --+
                           |
                          IBuilderControl

Instance Methods
 
submitBuildRequest(ss, reason, props=None)
Create a BuildRequest, which will eventually cause a build of the given SourceStamp to be run on this builder.
source code
 
rebuildBuild(buildStatus, reason="<rebuild, no reason given>")
Rebuild something we've already built before.
source code
 
getPendingBuildRequestControls()
Get a list of IBuildRequestControl objects for this Builder.
source code
 
getBuild(number)
Attempt to return an IBuildControl object for the given build.
source code
 
ping()
Attempt to contact the slave and see if it is still alive.
source code
Class Variables
  __bases__ = (<InterfaceClass zope.interface.Interface>)
  __identifier__ = 'buildbot.interfaces.IBuilderControl'
  __iro__ = (<InterfaceClass buildbot.interfaces.IBuilderControl...
  __name__ = 'IBuilderControl'
  __sro__ = (<InterfaceClass buildbot.interfaces.IBuilderControl...
  dependents = <WeakKeyDictionary at 36311120>
Method Details

submitBuildRequest(ss, reason, props=None)

source code 

Create a BuildRequest, which will eventually cause a build of the given SourceStamp to be run on this builder. This returns a BuildRequestStatus object via a Deferred, which can be used to keep track of the builds that are performed.

rebuildBuild(buildStatus, reason="<rebuild, no reason given>")

source code 

Rebuild something we've already built before. This submits a BuildRequest to our Builder using the same SourceStamp as the earlier build. This has no effect (but may eventually raise an exception) if this Build has not yet finished.

getPendingBuildRequestControls()

source code 

Get a list of IBuildRequestControl objects for this Builder. Each one corresponds to an unclaimed build request.

Returns:
list of objects via Deferred

getBuild(number)

source code 

Attempt to return an IBuildControl object for the given build. Returns None if no such object is available. This will only work for the build that is currently in progress: once the build finishes, there is nothing to control anymore.

ping()

source code 

Attempt to contact the slave and see if it is still alive. This returns a Deferred which fires with either True (the slave is still alive) or False (the slave did not respond). As a side effect, adds an event to this builder's column in the waterfall display containing the results of the ping. Note that this may not fail for a long time, it is implemented in terms of the timeout on the underlying TCP connection.


Class Variable Details

__iro__

Value:
(<InterfaceClass buildbot.interfaces.IBuilderControl>,
 <InterfaceClass zope.interface.Interface>)

__sro__

Value:
(<InterfaceClass buildbot.interfaces.IBuilderControl>,
 <InterfaceClass zope.interface.Interface>)