Caution
Buildbot no longer supports Python 2.7 on the Buildbot master.
3.9.5. Change Sources¶
3.9.5.1. ChangeSource¶
-
class
buildbot.changes.base.
ChangeSource
¶ This is the base class for change sources.
Subclasses should override the inherited
activate
anddeactivate
methods if necessary to handle initialization and shutdown.Change sources which are active on every master should, instead, override
startService
andstopService
.
3.9.5.2. ReconfigurablePollingChangeSource¶
-
class
buildbot.changes.base.
ReconfigurablePollingChangeSource
¶ This is a subclass of
ChangeSource
which adds polling behavior. Its constructor accepts thepollInterval
andpollAtLaunch
arguments as documented for most built-in change sources.Subclasses should override the
poll
method. This method may return a Deferred. Calls topoll
will not overlap.