master.cfg
Buildbot master configuration file
A tool for managing buildbot master instances
buildbot [global
options]
command
[command
options]
buildbot {command
-h | --help}
buildbot create-master
[{-q | --quiet}]
[{-f | --force}]
[{-r | --relocatable}]
[{-n | --no-logrotate}]
[{-s | --log-size
SIZE}]
[{-l | --log-count
COUNT}]
[{-c | --config
CONFIG}]
[--db
DATABASE]
[PATH]
buildbot upgrade-master
[{-q | --quiet}]
[{-r | --replace}]
[--db
DATABASE]
[PATH]
buildbot [--verbose]
{start | stop | restart | sighup | reconfig}
[PATH]
buildbot sendchange
[{-m | --master
MASTER}]
[{-u | --username
USERNAME}]
[{-R | --repository
REPOSITORY}]
[{-P | --project
PROJECT}]
[{-b | --branch
BRANCH}]
[{-C | --category
CATEGORY}]
[{-r | --revision
REVISION}]
[--revision-file
REVISIONFILE]
[{-p | --property
PROPERTY}]
[{-c | --comments
MESSAGE}]
[{-F | --logfile
LOGFILE}]
[{-w | --when
TIMESTAMP}]
FILES ...
buildbot try
[--wait]
[{-n | --dry-run}]
[--get-builder-names]
[{-c | --connect
{ssh | pb}}]
[--tryhost
HOSTNAME]
[--trydir
PATH]
[{-m | --master
MASTER}]
[{-u | --username
USERNAME}]
[--passwd
PASSWORD]
[--diff
DIFF]
[--patchlevel
PATCHLEVEL]
[--baserev
BASEREV]
[--vc
{cvs | svn | tla | baz | darcs | p4}]
[--branch
BRANCH]
[{-b | --builder
BUILDER}]
[--properties
PROPERTIES]
[--try-topfile
FILE]
[--try-topdir
PATH]
buildbot tryserver
[--jobdir
PATH]
buildbot checkconfig
[CONFIGFILE]
buildbot [--verbose]
{start | stop | restart | sighup | reconfig}
[PATH]
buildbot [--verbose]
{--help | --version}
The `buildbot' command-line tool can be used to start or stop a buildmaster and to interact with a running buildmaster instance. Some of its subcommands are intended for buildmaster admins, while some are for developers who are editing the code that the buildbot is monitoring.
create-masterCreate and populate a directory for a new buildmaster
upgrade-masterUpgrade an existing buildmaster directory for the current version
startStart a buildmaster
stopStop a buildmaster
restartRestart a buildmaster
sighup|reconfigSend SIGHUP signal to buildmaster to make it re-read the config file
sendchangeSend a change to the buildmaster
tryRun a build with your local changes. This command requires in-advance configuration of the buildmaster to accept such build requests. Please see the documentation for details about this command.
tryserverbuildmaster-side ´try´ support function, not for users
checkconfigValidate buildbot master config file.
-h|--helpPrint the list of available commands and global options. All subsequent commands are ignored.
--version
Print Buildbot and Twisted versions. All subsequent commands are ignored.
--verbose
Verbose output.
-q|--quietDo not emit the commands being run
-f|--forceRe-use an existing directory (will not overwrite master.cfg file)
-r|--relocatableCreate a relocatable buildbot.tac
-n|--no-logrotateDo not permit buildmaster rotate logs by itself.
-c|--configSet name of the buildbot master config file to CONFIG. Default file name is master.cfg.
-s|--log-sizeSet size at which twisted lof file is rotated to SIZE bytes. Default value is 1000000 bytes.
-l|--log-countLimit the number of kept old twisted log files to COUNT. All files are kept by default.
--db
Set the database connection for storing scheduler/status state to DATABASE. Default value is sqlite:///state.sqlite.
Directory where buildbot master files will be stored.
|
Do not emit the commands being run. |
|---|---|
|
Replace any modified files without confirmation. |
--db
Set the database connection for storing scheduler/status state to DATABASE. Default value is sqlite:///state.sqlite.
Directory where buildbot master files are stored.
--master
Set the location of buildmaster's PBChangeSource to attach to in form HOST:PORT.
|
Set committer's username to USERNAME. |
|---|---|
|
Set repository URL to REPOSITORY. |
|
Set project specifier to PROJECT. |
|
Set branch name to BRANCH. |
|
Set category of repository to CATEGORY. |
|
Set revision being built to REVISION. |
--revision-file
Use REVISIONFILE file to read revision spec data from.
|
Set property for the change to PROPERTY. It should be in format NAME:VALUE. |
|---|---|
|
Set log message to MESSAGE. |
|
Set logfile to LOGFILE. |
|
Set timestamp used as the change time to TIMESTAMP. |
FILES
|
Lis of files have been changed. |
--wait
Wait until the builds have finished.
-n|--dry-runGather info, but don't actually submit.
--get-builder-names
Get the names of available builders. Doesn't submit anything. Only supported for 'pb' connections.
-c|--connectConnection type. Can be either ´ssh´ or ´pb´.
--tryhost
Set the hostname (used by ssh) for the buildmaster to HOSTNAME.
--trydir
Specify trydir (on the tryhost) where tryjobs are deposited.
|
Set the location of the buildmaster's try scheduler in form HOST:PORT |
|---|---|
|
Set the username performing the trial build to USERNAME. |
--passwd
Set password for PB authentication to PASSWORD.
--diff
Use DIFF file to use as a patch instead of scanning a local tree. Use ´-´ for stdin.
--patchlevel
Specify the patchlevel to apply with. Defaults to 0. See patch for details.
--baserev
Use BASEREV revision instead of scanning a local tree.
--vc
Specify version control system in use. Possible values: cvs, svn, tla, baz, darcs, p4.
--branch
Specify the branch in use, for VC systems that can't figure it out themselves.
-b|--builderRun the trial build on the specified Builder. Can be used multiple times.
--properties
Specify the set of properties made available in the build environment in format prop1=value1,prop2=value2...
--try-topfile
Specify name of a file at the top of the tree. This option is used to find the top. Only needed for SVN and CVS.
--try-topdir
Specify the path to the top of the working copy. Only needed for SVN and CVS.
--jobdir
The jobdir (maildir) for submitting jobs
master.cfg
Buildbot master configuration file
8 releases since Debian 6.0 (Squeeze); the text changed 2 times.
--baserev since Debian 7 (Wheezy);
--branch since Debian 7 (Wheezy);
--db since Debian 7 (Wheezy);
--diff since Debian 7 (Wheezy);
--get-builder-names since Debian 7 (Wheezy);
--jobdir since Debian 7 (Wheezy);
--master since Debian 7 (Wheezy);
--passwd since Debian 7 (Wheezy);
--patchlevel since Debian 7 (Wheezy);
--properties since Debian 7 (Wheezy);
--revision-file since Debian 7 (Wheezy);
--try-topdir since Debian 7 (Wheezy);
--try-topfile since Debian 7 (Wheezy);
--trydir since Debian 7 (Wheezy);
--tryhost since Debian 7 (Wheezy);
--vc since Debian 7 (Wheezy);
--verbose since Debian 7 (Wheezy);
--version since Debian 7 (Wheezy);
--wait since Debian 7 (Wheezy).
--help until Debian 6.0 (Squeeze).