提供: wiki
< Dev:Doc‎ | Tools
2018年6月29日 (金) 04:42時点におけるYamyam (トーク | 投稿記録)による版 (1版 をインポートしました)
(差分) ← 古い版 | 最新版 (差分) | 新しい版 → (差分)
移動先: 案内検索


A buildbot is running at, which controls a number of build slaves that automatically make blender builds to offer users official daily builds, and for developers to quickly find out when things break on other platforms.


Buildbot master configuration files are located in bf-blender svn, under:


To actually update the server configuration, these are manually copied to the server. The buildbot master is started with

buildbot start /data/buildbot-master


Builders are a configuration for how to build for a particular platform. They consist of a number of steps, some optional:

  • svn update: updates source code form trunk
  • lib svn update: updates lib directory for a given platform (windows/mac only)
  • compile: rebuild blender
  • test: run tests
  • package: create package for upload
  • upload: transfer package to the server
  • unpack: server side updates for the new package

The compile, test and package steps are python scripts in blender svn. This is also the place to add any build configurations.


Adding Build Slaves

  • Download and install the Buildbot Slave (not master), see the Buildbot manual for instructions.
  • Next, a number of changes have to be done on the server:
    • A build slave account must be added in
    • If no relevant builder for the given platform exists yet, one must be created in master.cfg.
  • Once this is set up, the build slave can be set up. A directory must be specified, where buildbot will keep its configuration files, download the source code, and write build system output.
buildslave create-slave <directory> <slavename> <password>
  • After this, the slave can be started and stopped:
buildslave start <directory>
buildslave stop <directory>

Force Rebuild and Cancel Build

A build can be started at any time, if you have the right username and password. For this you need a slave name and matching password, the same one as used to setup the build slave with the create-slave command.

The slavename and password can be found in buildbot.tac, in the buildslave directory, or in on the server.