Caution

Buildbot no longer supports Python 2.7 on the Buildbot master.

Caution

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

5.29. Release Notes for Buildbot 1.8.2 ( 2019-05-22 )

5.29.1. Bug fixes

5.30. Release Notes for Buildbot 1.8.1 ( 2019-02-02 )

5.30.1. Bug fixes

5.31. Release Notes for Buildbot 1.8.0 ( 2019-01-20 )

5.31.1. Bug fixes

  • Fix a regression present in v1.7.0 which caused buildrequests waiting for a lock that got released by an unrelated build not be scheduled (issue # 4491)

  • Don’t run builds that request an instance with incompatible properties on Docker, Marathon and OpenStack latent workers.

  • Gitpoller now fetches only branches that are known to exist on remote. Non-existing branches are quietly ignored.

  • The demo repo in sample configuration files and the tutorial is now fetched via https: instead of git: to make life easier for those behind firewalls and/or using proxies.

  • buildbot sendchange has been fixed on Python 3 (issue # 4138)

5.31.2. Features

  • Add a KubeLatentWorker to launch workers into a kubernetes cluster

  • Simplify/automate configuration of worker as Windows service - eliminate manual configuration of Log on as a service

5.31.3. Deprecations and Removals

  • The deprecated BuildMaster.addBuildset method has been removed. Use BuildMaster.data.updates.addBuildset instead.

  • The deprecated BuildMaster.addChange method has been removed. Use BuildMaster.data.updates.addChange instead.

  • buildbot package now requires Twisted versions >= 17.9.0. This is required for Python 3 support. Earlier versions of Twisted are not supported.

5.32. Release Notes for Buildbot 1.7.0 ( 2018-12-21 )

5.32.1. Bug fixes

  • Fixed JSON decoding error when sending build properties to www change hooks on Python 3.

  • Buildbot no longer attempts to start builds that it can prove will have unsatisfied locks.

  • Don’t run builds that request images or sizes on instances started with different images or sizes.

5.32.2. Features

  • The Buildbot master Docker image at https://hub.docker.com/r/buildbot/ has been upgraded to use Python 3.7 by default.

  • Builder page has been improved with a smoothed build times plot, and a new success rate plot.

  • Allow the Buildbot master initial start timeout to be configurable.

  • An API to check whether an already started instance of a latent worker is compatible with what’s required by a build that is about to be started.

  • Add support for v2 of the Vault key-value secret engine in the SecretInVault secret provider.

5.32.3. Deprecations and Removals

  • Build.canStartWithWorkerForBuilder static method has been made private and renamed to _canAcquireLocks.

  • The Buildbot master Docker image based on Python 2.7 has been removed in favor of a Python 3.7 based image.

  • Builder.canStartWithWorkerForBuilder method has been removed. Use Builder.canStartBuild.

5.33. Release Notes for Buildbot 1.6.0 ( 2018-11-16 )

5.33.1. Bug fixes

  • Fixed missing buildrequest owners in the builder page (issue # 4207, issue # 3904)

  • Fixed display of the buildrequest number badge text in the builder page when on hover.

  • Fix usage of master paths when doing Git operations on worker (issue # 4268)

5.33.2. Improved Documentation

  • Misc improvement in Git source build step documentation.

  • Improve documentation of AbstractLatentWorker.

  • Improve the documentation of the Buildbot concepts by removing unneeded details to other pages.

5.33.3. Features

  • Added a page that lists all pending buildrequests (issue # 4239)

  • Builder page now has a chart displaying the evolution of build times over time

  • Improved FileUpload efficiency (issue # 3709)

  • Add method getResponsibleUsersForBuild in NotifierBase so that users can override recipients, for example to skip authors of changes.

  • Add define parameter to RpmBuild to specify additional –define parameters.

  • Added SSL proxy capability to base web application’s developer test setup (gulp dev proxy --host the-buildbot-host --secure).

5.33.4. Deprecations and Removals

  • The Material design Web UI has been removed as unmaintained. It may be brought back if a maintainer steps up.

5.34. Release Notes for Buildbot 1.5.0 ( 2018-10-09 )

5.34.1. Bug fixes

  • Fix the umask parameter example to make it work with both Python 2.x and 3.x.

  • Fix build-change association for multi-codebase builds in the console view..

  • Fixed builders page doesn’t list workers in multi-master configuration (issue # 4326)

  • Restricted groups added by GitHubAuth’s getTeamsMembership option to only those teams to which the user belongs. Previously, groups were added for all teams for all organizations to which the user belongs.

  • Fix ‘Show old workers’ combo behavior.

5.34.2. Features

  • GitHub teams added to a user’s groups by GitHubAuth’s getTeamsMembership option are now added by slug as well as by name. This means a team named “Bot Builders” in the organization “buildbot” will be added as both buildbot/Bot Builders and buildbot/bot-builders.

  • Make urlText renderable for the FileUpload build step.

  • Added noticeOnChannel option to IRC to send notices instead of messages to channels. This was an option in v0.8.x and removed in v0.9.0, which defaulted to sending notices. The v0.8.x default of sending messages is now restored.

5.34.3. Reverts

  • Reverted: Fix git submodule support when using sshPrivateKey and sshHostKey because it broke other use cases (issue # 4316) In order to have this feature to work, you need to keep your master in 1.4.0, and make sure your worker buildbot.tac are installed in the same path as your master.

5.35. Release Notes for Buildbot 1.4.0 ( 2018-09-02 )

5.35.1. Bug fixes

  • Fix Build.getUrl() to not ignore virtual builders.

  • Fix git submodule support when using sshPrivateKey and sshHostKey settings by passing ssh data as absolute, not relative paths.

  • Fixed P4 for change in latest version of p4 login -p.

  • buildbot.reporters.irc.IrcStatusBot no longer encodes messages before passing them on to methods of its Twisted base class to avoid posting the repr() of a bytes object when running on Python 3.

5.35.2. Features

  • Added new GitPush step to perform git push operations.

  • Objects returned by Renderer now are able to pass extra arguments to the rendered function via withArgs method.

5.35.3. Test Suite

  • Test suite has been improved for readability by adding a lot of inlineCallbacks

  • Fixed tests which didn’t wait for assertFailure’s returned deferred.

  • The test suite now runs on Python 3.7 (mostly deprecation warnings from dependencies shut down)

5.36. Release Notes for Buildbot 1.3.0 ( 2018-07-13 )

5.36.1. Bug fixes

  • buildbot-worker docker image no longer use pidfile. This allows to auto-restart a docker worker upon crash.

  • GitLab v3 API is deprecated and has been removed from http://gitlab.com, so we now use v4. (issue # 4143)

5.36.2. Features

  • -Git now supports sshHostKey parameter to specify ssh public host key for fetch operations.

  • -Git now supports sshPrivateKey parameter to specify private ssh key for fetch operations.

  • -GitPoller now supports sshHostKey parameter to specify ssh public host key for fetch operations. This feature is supported on git 2.3 and newer.

  • -GitPoller now supports sshPrivateKey parameter to specify private ssh key for fetch operations. This feature is supported on git 2.3 and newer.

  • Github hook token validation now uses hmac.compare_digest() for better security

5.36.3. Deprecations and Removals

  • Removed support for GitLab v3 API ( GitLab < 9 ).

5.37. Release Notes for Buildbot 1.2.0 ( 2018-06-10 )

5.37.1. Bug fixes

  • Don’t schedule a build when a GitLab merge request is deleted or edited (issue # 3635)

  • Add GitLab source step; using it, we now handle GitLab merge requests from forks properly (issue # 4107)

  • Fixed a bug in MailNotifier’s createEmail method when called with the default builds value which resulted in mail not being sent.

  • Fixed a Github crash that happened on Pull Requests, triggered by Github Web-hooks. The json sent by the API does not contain a commit message. In github.py this causes a crash, resulting into response 500 sent back to Github and building failure.

  • Speed up generation of api/v2/builders by an order of magnitude. (issue # 3396).

5.37.2. Improved Documentation

  • Added examples/gitlab.cfg to demonstrate integrating Buildbot with GitLab.

5.37.3. Features

  • ForceScheduler Parameters now support an autopopulate parameter.

  • ForceScheduler Parameters ChoiceParameter now correctly supports the strict parameter, by allowing free text entry if strict is False.

  • Allow the remote ref to be specified in the GitHub hook configuration (issue # 3998)

  • Added callable to p4 source that allows client code to resolve the p4 user and workspace into a more complete author. Default behaviour is a lambda that simply returns the original supplied who. This callable happens after the existing regex is performed.

5.38. Release Notes for Buildbot 1.1.2 ( 2018-05-15 )

5.38.1. Bug fixes

  • fix several multimaster issues by reverting issue # 3911. re-opens issue # 3783. (issue # 4067, issue # 4062, issue # 4059)

  • Fix MultipleFileUpload to correctly compute path name when worker and master are on different OS (issue # 4019)

  • LDAP bytes/unicode handling has been fixed to work with Python 3. This means that LDAP authentication, REMOTE_USER authentication, and LDAP avatars now work on Python 3. In addition, an of bounds access when trying to load the value of an empty LDAP attribute has been fixed.

  • Removing `no-select` rules from places where they would prevent the user from selecting interesting text. (issue # 3663)

  • fix `Maximum recursion depth exceeded when lots of worker are trying to connect while master is starting or reconfiguring (issue # 4042).

5.38.2. Improved Documentation

  • Document a minimal secure config for the Buildbot web interface. (issue # 4026)

5.38.3. Features

  • The Dockerfile for the buildbot master image has been updated to use Alpine Linux 3.7. In addition, the Python requests module has been added to this image. This makes GitHub authentication work out of the box with this image. (issue # 4039)

  • New steps for Visual Studio 2017 (VS2017, VC141, and MsBuild141).

  • The smoke tests have been changed to use ES2017 async and await keywords. This requires that the smoke tests run with Node 8 or higher. Use of async and await is recommended by the Protractor team: https://github.com/angular/protractor/blob/master/docs/async-await.md

  • Allow urlText to be set on a url linked to a DirectoryUpload step (issue # 3983)

5.39. Release Notes for Buildbot 1.1.1 ( 2018-04-06 )

5.39.1. Bug fixes

  • Fix issue which marked all workers dis-configured in the database every 24h (issue # 3981 issue # 3956 issue # 3970)

  • The MailNotifier no longer crashes when sending from/to email addresses with “Real Name” parts (e.g., John Doe <john.doe@domain.tld>).

  • Corrected pluralization of text on landing page of the web UI

5.39.2. Improved Documentation

  • Corrected typo in description of libvirt

  • Update sample config to use preferred API

5.39.3. Misc Improvements

  • Home page now contains links to recently active builders

5.40. Release Notes for Buildbot 1.1.0 ( 2018-03-10 )

5.40.1. Deprecations and Removals

  • Removed ramlfication as a dependency to build the docs and run the tests.

5.40.2. Bug fixes

  • Fixed buildrequests API doesn’t provide properties data (issue # 3929)

  • Fix missing owner on builder build table (issue # 3311)

  • Include hipchat as reporter.

  • Fix encoding issues of commands with Windows workers (issue # 3799).

  • Fixed Relax builder name length restriction (issue # 3413).

  • Fix the configuration order so that services can actually use secrets (issue # 3985)

  • Partially fix Builder page should show the worker information (issue # 3546).

5.40.3. Features

  • Added the defaultProperties parameter to builders.

  • When a build step has a log called “summary” (case-insensitive), the Build Summary page will sort that log first in the list of logs, and automatically expand it.

5.41. Release Notes for Buildbot 1.0.0 ( 2018-02-11 )

Despite the major version bump, Buildbot 1.0.0 does not have major difference with the 0.9 series. 1.0.0 is rather the mark of API stability. Developers do not foresee a major API break in the next few years like we had for 0.8 to 0.9.

Starting with 1.0.0, Buildbot will follow semver versioning methodology.

5.41.1. Bug fixes

  • Cloning Git repository with submodules now works with Git < 1.7.6 instead of failing due to the use of the unsupported --force option.

  • GitHub hook now properly creates a change in case of new tag or new branch. GitHub changes will have the category set to tag when a tag was pushed to easily distinguish from a branch push.

  • Fixed issue with Master.expireMasters not always honoring its forceHouseKeeping parameter. (issue # 3783)

  • Fixed issue with steps not correctly ending in CANCELLED status when interrupted.

  • Fix maximum recursion limit issue when transferring large files with LocalWorker (issue:3014).

  • Added an argument to P4Source that allows users to provide a callable to convert Perforce branch and revision to a valid revlink URL. Perforce supplies a p4web server for resolving urls into change lists.

  • Fixed issue with buildbot_pkg` not hanging on yarn step on windows (issue # 3890).

  • Fix issue with workers notify_on_missing not able to be configurable as a single string instead of list of string (issue # 3913).

  • Fixed Builder page should display worker name instead of id (issue # 3901).

5.41.2. Features

  • Add capability to override the default UI settings (issue # 3908)

  • All Reporters have been adapted to be able to use Secret. SVNPoller has been adapted to be able to use Secret.

  • Implement support for Bitbucket Cloud webhook plugin in BitbucketCloudEventHandler

  • The owners property now includes people associated with the changes of the build (issue # 3904).

  • The repo source step now syncs with the --force-sync flag which allows the sync to proceed when a source repo in the manifest has changed.

  • Add support for compressing the repo source step cache tarball with pigz, a parallel gzip compressor.