Buildbot no longer supports Python 2.7 on the Buildbot master.
This page documents the latest, unreleased version of Buildbot. For documentation for released versions, see http://docs.buildbot.net/current/.
Build class represents a running build, with associated steps.
- class buildbot.process.build.Build¶
The ID of this build in the database.
- getSummaryStatistic(name, summary_fn, initial_value=None)¶
name – statistic name to summarize
summary_fn – callable with two arguments that will combine two values
initial_value – first value to pass to
This method summarizes the named step statistic over all steps in which it exists, using
initial_valueto combine multiple results into a single result. This translates to a call to Python’s
return reduce(summary_fn, step_stats_list, initial_value)
URL as string
Returns url of the build in the UI. Build must be started. This is useful for custom steps.