Buildbot Integration

Coupled with the Buildbot project, JHBuild can also help as a continuous integration tool. Such a configuration is used by the GNOME project at build.gnome.org.

3.1. Configuring a Buildbot Slave

A Buildbot slave is just a variation of a normal JHBuild installation, the difference is mostly it will serve the requests of the Buildbot master instead of your own. Thus it is generally advised to get JHBuild running and performing correctly (a full run with most modules building fine is a good test) before adding the few special Buildbot bits.

All Buildbot-related commands are options of the bot, downloading and installing the extra required softwares is done like this:

$ jhbuild bot --setup

Once this step has been run successfully, there are three new configuration variables to define in ~/.jhbuildrc.

It is currently not possible to use an alternate configuration file, the --file will not get desired effects.

jhbuildbot_master = 'build.gnome.org:9070'
jhbuildbot_slavename = 'slavename'
jhbuildbot_password = 'password'

jhbuildbot_master is a string pointing to the Buildbot master server; it defaults to 'build.gnome.org:9070'. jhbuildbot_slavename and jhbuildbot_password identify the slave on the master server; you should contact the Buildbot master administrators to get them.

The administrators of build.gnome.org can be reached on the Build Brigade mailing list.