[Buildbot-devel] multiple schedulers/changesources
Charles Lepple
clepple at gmail.com
Wed Oct 1 12:10:42 UTC 2008
On Wed, Oct 1, 2008 at 6:38 AM, Wolfgang Rosenauer
<wolfgang at rosenauer.org> wrote:
> Hi,
>
> I'm wondering if it's possible to have different projects in one
> buildbot instance like this:
>
> I get my changes notifications from svn using PBChangeSource but I have
> different projects in the config which have different baseURLs obviously.
> So I tried to define two AnyBranchSchedulers instead of one but that's
> not enough apparently.
> So I guess incoming changes always trigger all schedulers if they
> contain the defined branch names which are defined to be monitored by
> the AnyBranchScheduler?
>
> Any other solution besides having another master instance?
Definitely - use the fileIsImportant argument to the scheduler, and
make your fileIsImportant function filter based on the "branch" (SVN
path).
Documentation is here:
http://buildbot.net/repos/release/docs/buildbot.html#Scheduler-Scheduler
and here:
http://buildbot.net/repos/release/docs/reference/buildbot.changes.changes.Change-class.html
change.branch can be None if the default branch is being built;
otherwise, I believe it is a string.
--
- Charles Lepple
More information about the devel
mailing list