Buildbot vlatest documentation

Caution

This page documents the latest, unreleased version of Buildbot. For documentation for released versions, see http://buildbot.net/buildbot/docs.

Release Notes for Buildbot latest

The following are the release notes for Buildbot latest.

Master

Deprecations, Removals, and Non-Compatible Changes

  • Buildbot master now requires at least Python-2.5 and Twisted-9.0.0.

  • Buildbot master requires python-dateutil version 1.5 to support the Nightly scheduler.

  • The configurable callable build.workdir has changed his parameterlist. Instead of a single sourcestamp a list of sourcestamps is passed. Each sourcestamp in the list has a different codebase

  • BK support has been removed in this release - see bug #2198.

  • The undocumented renderable _ComputeRepositoryURL is no longer imported to buildbot.steps.source. It is still available at buildbot.steps.source.oldsource.

  • IProperties.render now returns a deferred, so any code rendering properties by hand will need to take this into account.

  • baseURL has been removed in SVN to use just repourl - see bug #2066. Branch info should be provided with Interpolate.

    from buildbot.steps.source.svn import SVN
    factory.append(SVN(baseURL="svn://svn.example.org/svn/"))
    

    can be replaced with

    from buildbot.process.properties import Interpolate
    from buildbot.steps.source.svn import SVN
    factory.append(SVN(repourl=Interpolate("svn://svn.example.org/svn/%(src::branch)s")))
    

    and

    from buildbot.steps.source.svn import SVN
    factory.append(SVN(baseURL="svn://svn.example.org/svn/%%BRANCH%%/project"))
    

    can be replaced with

    from buildbot.process.properties import Interpolate
    from buildbot.steps.source.svn import SVN
    factory.append(SVN(repourl=Interpolate("svn://svn.example.org/svn/%(src::branch)s/project")))
    

    and

    from buildbot.steps.source.svn import SVN
    factory.append(SVN(baseURL="svn://svn.example.org/svn/", defaultBranch="branches/test"))
    

    can be replaced with

    from buildbot.process.properties import Interpolate
    from buildbot.steps.source.svn import SVN
    factory.append(SVN(repourl=Interpolate("svn://svn.example.org/svn/%(src::branch:-branches/test)s")))
    
  • The P4Sync step, deprecated since 0.8.5, has been removed. The P4 step remains.

Changes for Developers

  • BuildStep.start can now optionally return a deferred and any errback will be handled gracefully. If you use inlineCallbacks, this means that unexpected exceptions and failures raised will be captured and logged and the build shut down normally.

Features

  • Buildbot now supports building projects composed of multiple codebases. New schedulers can aggregate changes to multiple codebases into source stamp sets (with one source stamp for each codebase). Source steps then check out each codebase as required, and the remainder of the build process proceeds normally. See the Multiple-Codebase Builds for details.

  • Source and ShellCommand steps now have an optional descriptionSuffix, a suffix to the
    description/descriptionDone values. For example this can help distinguish between

    multiple Compile steps that are applied to different codebases.

  • Git has a new getDescription option, which will run git describe after checkout normally. See the documentation for details.

  • A new ternary substitution operator :?: and :#?: to use with the Interpolate and WithProperties classes.

Slave

Deprecations, Removals, and Non-Compatible Changes

  • BK support has been removed in this release - see bug #2198.

Features

  • IRenderable.getRenderingFor can now return a deferred.

Details

For a more detailed description of the changes made in this version, see the git log itself:

git log v0.8.6..master

Older Versions

Release notes for older versions of Buildbot are available in the master/docs/release-notes/ directory of the source tree, or in the archived documentation for those versions at http://buildbot.net/buildbot/docs.