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 --username USER FILENAMES..
The master
and username
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.