c['schedulers']
is a list of Scheduler instances, each
of which causes builds to be started on a particular set of
Builders. The two basic Scheduler classes you are likely to start
with are Scheduler
and Periodic
, but you can write a
customized subclass to implement more complicated build scheduling.
Scheduler arguments should always be specified by name (as keyword arguments), to allow for future expansion:
sched = Scheduler(name="quick", builderNames=['lin', 'win'])
There are several common arguments for schedulers, although not all are available with all schedulers.
name
scheduler
.
builderNames
properties
owner
property may be of
particular interest, as its contents (as a list) will be added to the list of
"interested users" (see Doing Things With Users) for each triggered build.
For example:
sched = Scheduler(..., properties = { 'owner' : [ 'zorro@company.com', 'silver@company.com' ] })
fileIsImportant
True
if the change is worth building, and False
if
it is not. Unimportant Changes are accumulated until the build is
triggered by an important change. The default value of None means
that all Changes are important.
change_filter
fileIsImportant
: if the change filter filters out a Change, then it is
completely ignored by the scheduler. If a Change is allowed by the change
filter, but is deemed unimportant, then it will not cause builds to start, but
will be remembered and shown in status displays.
The remaining subsections represent a catalog of the available Scheduler types.
All these Schedulers are defined in modules under buildbot.schedulers
,
and the docstrings there are the best source of documentation on the arguments
taken by each one.