Home | Trees | Indices | Help |
|
---|
|
I represent a single build by a single slave. Specialized Builders can use subclasses of Build to hold status information unique to those build processes.
I control how the build proceeds. The actual build is broken up into a series of steps, saved in the .buildSteps[] array as a list of buildbot.process.step.BuildStep objects. Each step is a single remote command, possibly a shell command.
During the build, I put status information into my
BuildStatus
gatherer.
After the build, I go away.
I can be used by a factory by setting buildClass on buildbot.process.factory.BuildFactory
Instance Methods | |||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
Class Variables | |
workdir =
|
|
reason =
|
|
finished = False
|
|
results = None
|
|
stopped = False
|
|
useProgress = True
|
|
__implemented__ = <implementedBy buildbot.process.base.Build>
|
|
__provides__ = <zope.interface.declarations.ClassProvides obje
|
Instance Variables | |
build_status = None the buildbot.status.builder.BuildStatus that collects our status |
|
requests the list of BuildRequests that triggered me |
Method Details |
Set the given builder as our builder.
|
Set a property on this build. This may only be called after the build has started, so that it has a BuildStatus object where the properties can live. |
Set a list of 'step factories', which are tuples of (class, kwargs), where 'class' is generally a subclass of step.BuildStep . These are used to create the Steps themselves when the Build starts (as opposed to when it is first created). By creating the steps later, their __init__ method will have access to things like build.allFiles() . |
This method sets up the build, then starts it by invoking the first Step. It returns a Deferred which will fire when the build finishes. This Deferred is guaranteed to never errback. |
This method is called to obtain the next BuildStep for this build. When it returns None (or raises a StopIteration exception), the build is complete. |
This method is called when the BuildStep completes. It is passed a status object from the BuildStep and is responsible for merging the Step's results into those of the overall Build. |
This method must be called when the last Step has completed. It marks the Build as complete and returns the Builder to the 'idle' state. It takes two arguments which describe the overall build status: text, results. 'results' is one of SUCCESS, WARNINGS, or FAILURE. If 'results' is SUCCESS or WARNINGS, we will permit any dependant builds to start. If it is 'FAILURE', those builds will be abandoned. |
Class Variable Details |
__provides__
|
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Tue May 25 17:52:27 2010 | http://epydoc.sourceforge.net |