This command is used to tell the buildmaster about source changes. It
is intended to be used from within a commit script, installed on the
VC server. It requires that you have a PBChangeSource
(see PBChangeSource) running in the buildmaster (by being set in
c['change_source']
).
buildbot sendchange --master MASTERHOST:PORT --auth USER:PASS \ --who COMMITTER FILENAMES..
The auth
option specifies the credentials to use to connect to the
master, in the form user:pass
. If the password is omitted, then
sendchange will prompt for it. If both are omitted, the old default (username
"change" and password "changepw") will be used. Note that this password is
well-known, and should not be used on an internet-accessible port.
The master
and who
arguments can also be given in the
options file (see .buildbot config directory). There are other (optional)
arguments which can influence the Change
that gets submitted:
--branch
branch
) This provides the (string) branch specifier. If
omitted, it defaults to None, indicating the “default branch”. All files
included in this Change must be on the same branch.
--category
category
) This provides the (string) category specifier. If
omitted, it defaults to None, indicating “no category”. The category property
can be used by Schedulers to filter what changes they listen to.
--project
project
) This provides the (string) project to which this
change applies, and defaults to ”. The project can be used by schedulers to
decide which builders should respond to a particular change.
--repository
repository
) This provides the repository from which this
change came, and defaults to ”.
--revision
--revision_file
--property
--comments
--logfile
-
as the filename, the tool will read the
change comments from stdin.
--encoding