BUILDBOT(1)
β¨ NAME β¨
buildbot β it's the BUILDBOT(1) page from User Commands, and it's literally a tool for managing buildbot master instances π
π SYNOPSIS π
πΈ General Invocation
buildbot [ global options ] command [ command options ]
buildbot command -h|--help
πΈ Command Options
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 }
(and yes bestie, the start|stop|restart|sighup|reconfig line really does show up twice in here β that's not me being extra, that's just what the page says π)
π¦ DESCRIPTION π¦
The buildbot command-line tool is your little remote control for a buildmaster β you can use it to start or stop a buildmaster, and to interact with a buildmaster instance that's already running. π
Some of its subcommands are for the buildmaster admins (the people keeping the whole thing alive), and some are for developers who are out here editing the code that the buildbot is monitoring. Two different audiences, one command, main character energy fr fr.
π OPTIONS π
π Commands
create-masterβ creates a directory for a brand new buildmaster and populates it πupgrade-masterβ takes a buildmaster directory you already have and upgrades it for the current versionstartβ starts a buildmaster β¨stopβ stops a buildmasterrestartβ restarts a buildmaster πsighup|reconfigβ sends aSIGHUPsignal to the buildmaster so it re-reads the config filesendchangeβ sends a change to the buildmaster π¨tryβ runs a build with your local changes. Important: this command needs the buildmaster to be configured in advance to accept build requests like this. The docs have the details on how to set that up, so go read them, bestie.tryserverβ the buildmaster-sidetrysupport function. Not for users. Hands off, that's staff only πcheckconfigβ validates your buildbot master config file β
π Global options
-h|--helpβ prints the list of available commands and global options. Everything you put after it gets ignored, no cap.--versionβ prints the Buildbot and Twisted versions. Also ignores all subsequent commands. π--verboseβ verbose output, so you see everything going on π£οΈ
π§ create-master command options
-q|--quietβ do not emit the commands being run π€«-f|--forceβ re-use a directory that already exists (heads up: it will not overwrite themaster.cfgfile)-r|--relocatableβ creates a relocatablebuildbot.tacπ¦-n|--no-logrotateβ does not permit the buildmaster to rotate logs by itself-c|--configβ sets the name of the buildbot master config file to CONFIG. Default file name ismaster.cfg. πΈ-s|--log-sizeβ sets the size at which the twisted log file is rotated to SIZE bytes. Default value is1000000bytes.-l|--log-countβ limits the number of kept old twisted log files to COUNT. By default, all files are kept.--dbβ sets the database connection for storing scheduler/status state to DATABASE. Default value issqlite:///state.sqlite. ποΈPATHβ directory where buildbot master files will be stored.
π upgrade-master command options
-q|--quietβ do not emit the commands being run.-r|--replaceβ replaces any modified files without confirmation. No take-backs, it's not gonna ask first.--dbβ sets the database connection for storing scheduler/status state to DATABASE. Default value issqlite:///state.sqlite.PATHβ directory where buildbot master files are stored.
π sendchange command options
--masterβ sets the location of the buildmaster'sPBChangeSourceto attach to, in the formHOST:PORT.-u|--usernameβ sets the committer's username to USERNAME.-R|--repositoryβ sets the repository URL to REPOSITORY.-P|--projectβ sets the project specifier to PROJECT.-b|--branchβ sets the branch name to BRANCH.-c|--categoryβ sets the category of the repository to CATEGORY.-r|--revisionβ sets the revision being built to REVISION.--revision-fileβ uses the REVISIONFILE file to read revision spec data from.-p|--propertyβ sets a property for the change to PROPERTY. It should be in the formatNAME:VALUE.-m|--commentsβ sets the log message to MESSAGE.-F|--logfileβ sets the logfile to LOGFILE.-w|--whenβ sets the timestamp used as the change time to TIMESTAMP. β°FILESβ the list of files that have been changed.
π«Ά try command options
--waitβ waits until the builds have finished. β³-n|--dry-runβ gathers info, but does not actually submit anything.--get-builder-namesβ gets the names of the available builders. Doesn't submit anything. Only supported for'pb'connections.-c|--connectβ the connection type. Can be either'ssh'or'pb'.--tryhostβ sets the hostname (used by ssh) for the buildmaster to HOSTNAME.--trydirβ specifies the trydir (on the tryhost) where tryjobs are deposited.-m|--masterβ sets the location of the buildmaster's try scheduler in the formHOST:PORT.-u|--usernameβ sets the username performing the trial build to USERNAME.--passwdβ sets the password for PB authentication to PASSWORD. π--diffβ uses the DIFF file as a patch instead of scanning a local tree. Use'-'for stdin.--patchlevelβ specifies the patchlevel to apply with. Defaults to0. Seepatchfor details.--baserevβ uses the BASEREV revision instead of scanning a local tree.--vcβ specifies the version control system in use. Possible values:cvs,svn,tla,baz,darcs,p4.--branchβ specifies the branch in use, for VC systems that can't figure it out themselves. π-b|--builderβ runs the trial build on the specified Builder. Can be used multiple times. π--propertiesβ specifies the set of properties made available in the build environment, in the formatprop1=value1,prop2=value2...--try-topfileβ specifies the 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β specifies the path to the top of the working copy. Only needed for SVN and CVS.
β tryserver command options
--jobdirβ the jobdir (maildir) for submitting jobs π¬
πΈ FILES πΈ
master.cfgβ the Buildbot master configuration file. The one you keep editing. The one you keep breaking. Iconic. π
π SEE ALSO π
okay that's the whole page, every flag, every default, every PATH, all of it β nothing skipped, nothing invented, just vibes + facts π«Ά
this was Buildbot, dated August 2010, living its life as BUILDBOT(1) β mwah, slay, periodt πβ¨π
π¦ where this page comes from
- debian bookworm: buildbot 3.7.0-2 Β· GPL-2.0-only
- debian trixie: buildbot 4.2.1-1 Β· GPL-2.0-only
- epel 10: buildbot-master 4.3.0-7.el10_3 Β· GPL-2.0-only
- epel 9: buildbot-master 3.11.7-2.el9 Β· GPL-2.0-only
- fedora 43: buildbot-master 4.3.0-4.fc43 Β· GPL-2.0-only
- fedora 44: buildbot-master 4.3.0-7.fc44 Β· GPL-2.0-only
- ubuntu jammy: buildbot 3.4.0-1build1 Β· GPL-2.0-only
- ubuntu noble: buildbot 3.10.1-2 Β· GPL-2.0-only
- ubuntu questing: buildbot 4.2.1-1
- ubuntu resolute: buildbot 4.3.0-1 Β· GPL-2.0-only
- ubuntu stonking: buildbot 4.3.0-4 Β· GPL-2.0-only
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms