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'])
All schedulers have several arguments in common:
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' ] })
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.