__init__(self,
name,
branches,
treeStableTimer,
builderNames,
fileIsImportant=None)
(Constructor)
-
- Parameters:
name -
the name of this Scheduler
branches -
The branch names that the Scheduler should pay attention to.
Any Change that is not on one of these branches will be ignored.
It can be set to None to accept changes from any branch. Don't
use [] (an empty list), because that means we don't pay attention
to *any* branches, so we'll never build anything.
treeStableTimer -
the duration, in seconds, for which the tree must remain
unchanged before a build will be triggered. This is intended to
avoid builds of partially-committed fixes.
builderNames -
a list of Builder names. When this Scheduler decides to start
a set of builds, they will be run on the Builders named by this
list.
fileIsImportant -
A callable which takes one argument (a Change instance) and
returns 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.
- Overrides:
buildbot.scheduler.BaseUpstreamScheduler.__init__
|