Home | Trees | Index | Help |
|
---|
Package buildbot :: Package status :: Module builder :: Class BuildStatus |
|
Versioned
--+
|
BuildStatus
Method Summary | |
---|---|
| |
__getstate__(self)
| |
__setstate__(self,
d)
| |
The Build is setting up, and has added a new BuildStep to its list. | |
addTestResult(self,
result)
| |
buildFinished(self)
| |
The Build has been set up and is about to be started. | |
Return a filename (relative to the Builder's base directory) where the logfile's contents can be stored uniquely. | |
BuilderStatus
|
|
getChanges(self)
| |
getColor(self)
| |
getCurrentStep(self)
| |
getETA(self)
| |
getInterestedUsers(self)
| |
getLogs(self)
| |
getNumber(self)
| |
getPreviousBuild(self)
| |
getProperty(self,
propname)
| |
getReason(self)
| |
getResponsibleUsers(self)
| |
getResults(self)
| |
getSlavename(self)
| |
getSourceStamp(self)
| |
Return a list of IBuildStepStatus objects. | |
getTestResults(self)
| |
getText(self)
| |
getTimes(self)
| |
isFinished(self)
| |
pruneLogs(self)
| |
pruneSteps(self)
| |
saveYourself(self)
| |
sendETAUpdate(self,
receiver,
updateInterval)
| |
setBlamelist(self,
blamelist)
| |
setColor(self,
color)
| |
setProgress(self,
progress)
| |
setProperty(self,
propname,
value)
| |
setReason(self,
reason)
| |
setResults(self,
results)
| |
setSlavename(self,
slavename)
| |
setSourceStamp(self,
sourceStamp)
| |
setText(self,
text)
| |
stepStarted(self,
step)
| |
subscribe(self,
receiver,
updateInterval)
| |
unsubscribe(self,
receiver)
| |
upgradeLogfiles(self)
| |
upgradeToVersion1(self)
| |
upgradeToVersion2(self)
| |
waitUntilFinished(self)
| |
Inherited from Versioned | |
(internal) Do a version upgrade. |
Class Variable Summary | |
---|---|
Implements |
__implemented__ = <implementedBy buildbot.status.builder...
|
ClassProvides |
__provides__ = <zope.interface.declarations.ClassProvide...
|
list |
blamelist = []
|
list |
changes = []
|
NoneType |
color = None |
NoneType |
currentStep = None |
NoneType |
finished = None |
list |
finishedWatchers = []
|
int |
persistenceVersion = 2 |
NoneType |
progress = None |
NoneType |
reason = None |
NoneType |
results = None |
str |
slavename = '???'
|
NoneType |
source = None |
NoneType |
started = None |
dict |
testResults = {}
|
list |
text = []
|
dict |
updates = {}
|
list |
watchers = []
|
Inherited from Versioned | |
ClassProvides |
__providedBy__ = <zope.interface.declarations.ClassProvi...
|
tuple |
persistenceForgets = ()
|
Method Details |
---|
__init__(self,
parent,
number)
|
addStepWithName(self, name)The Build is setting up, and has added a new BuildStep to its list. Create a BuildStepStatus object to which it can send status updates. |
buildStarted(self, build)The Build has been set up and is about to be started. It can now be safely queried, so it is time to announce the new build. |
generateLogfileName(self, stepname, logname)Return a filename (relative to the Builder's base directory) where the logfile's contents can be stored uniquely. The base filename is made by combining our build number, the Step's name, and the log's name, then removing unsuitable characters. The filename is then made unique by appending _0, _1, etc, until it does not collide with any other logfile. These files are kept in the Builder's basedir (rather than a per-Build subdirectory) because that makes cleanup easier: cron and find will help get rid of the old logs, but the empty directories are more of a hassle to remove. |
getBuilder(self)
|
getSteps(self)Return a list of IBuildStepStatus objects. For invariant builds (those which always use the same set of Steps), this should be the complete list, however some of the steps may not have started yet (step.getTimes()[0] will be None). For variant builds, this may not be complete (asking again later may give you more of them). |
Class Variable Details |
---|
__implemented__
|
__provides__
|
blamelist
|
changes
|
color
|
currentStep
|
finished
|
finishedWatchers
|
persistenceVersion
|
progress
|
reason
|
results
|
slavename
|
source
|
started
|
testResults
|
text
|
updates
|
watchers
|
Home | Trees | Index | Help |
|
---|
Generated by Epydoc 2.1 on Sun Dec 10 22:04:44 2006 | http://epydoc.sf.net |