Trees | Indices | Help |
|
---|
|
properties.PropertiesMixin --+ | Build
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 | |||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
Inherited from |
Class Variables | |
workdir =
|
|
reason =
|
|
finished = False
|
|
results = None hash(x) |
|
stopped = False
|
|
set_runtime_properties = True the default value for the runtime parameter of setProperty.
|
|
useProgress = True
|
|
__implemented__ = <implementedBy buildbot.process.build.Build>
|
Instance Variables | |
build_status = None the buildbot.status.build.BuildStatus that collects our status |
|
requests the list of BuildRequests that triggered me |
Method Details |
Set the given builder as our builder.
|
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. |
Special descriptor for class __provides__ The descriptor caches the implementedBy info, so that we can get declarations for objects without instance-specific interfaces a bit quicker.
|
Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Wed Nov 21 16:22:44 2012 | http://epydoc.sourceforge.net |