<NME> master.cfg
<BEF> # -*- python -*-

c = BuildmasterConfig = {}

####### GENERAL
c['projectName'] = 'tcpcrypt'
c['projectURL'] = 'http://tcpcrypt.org'
c['buildbotURL'] = 'http://hs02:8010'


####### SLAVES
from buildbot.buildslave import BuildSlave
c['slaves'] = [
    BuildSlave('ubuntu-lucid-i386', 'secret'),
    BuildSlave('ubuntu-lucid-amd64', 'secret'),
    BuildSlave('debian-squeeze-amd64', 'secret'),
    BuildSlave('freebsd-81-amd64', 'secret'),
    BuildSlave('macosx-106', 'secret'),
    BuildSlave('winxp-i386', 'secret'),
]
c['slavePortnum'] = 9989
slavenames = [s.slavename for s in c['slaves']]


####### CHANGESOURCES
from buildbot.changes.pb import PBChangeSource
c['change_source'] = [ PBChangeSource() ]


####### BUILDERS
from buildbot.process import factory
from buildbot.steps import source, shell
source = source.Git(repourl='git://github.com/sqs/tcpcrypt.git')
configure = shell.Configure(command="cd user && ./configure --prefix=/usr")
clean = shell.ShellCommand(command="cd user && make clean")
build = shell.Compile(command="cd user && make")
test = shell.Test(command=["sh", "user/test/test_sessid.sh"])
f = factory.BuildFactory([source, configure, clean, build, test])
c['builders'] = [
    dict(name='ubuntu-lucid-i386',
         slavename='ubuntu-lucid-i386',
         builddir='build/ubuntu-lucid-i386',
         factory=f),

    dict(name='ubuntu-lucid-amd64',
         slavename='ubuntu-lucid-amd64',
         builddir='build/ubuntu-lucid-amd64',
         factory=f),

    dict(name='debian-squeeze-amd64',
         slavename='debian-squeeze-amd64',
         builddir='build/debian-squeeze-amd64',
         factory=f),

    dict(name='freebsd-81-amd64',
         slavename='freebsd-81-amd64',
         builddir='build/freebsd-81-amd64',
         factory=f),

    dict(name='macosx-106',
         slavename='macosx-106',
         builddir='build/macosx-106',
         factory=f),
         builddir='build/winxp-i386',
         factory=f),       
]

####### SCHEDULERS
c['schedulers'] = []

####### STATUS TARGETS
from buildbot.status import html

####### STATUS TARGETS
from buildbot.status import html
c['status'] = []
c['status'].append(html.WebStatus(http_port=8010, allowForce=True))


<MSG> try server

<DFF> @@ -64,9 +64,13 @@ c['builders'] = [
          builddir='build/winxp-i386',
          factory=f),       
 ]
+buildnames = [b['name'] for b in c['builders']]
 
 ####### SCHEDULERS
-c['schedulers'] = []
+from buildbot.scheduler import Try_Jobdir
+s = Try_Jobdir("try1", buildnames, jobdir="build/try1")
+c['schedulers'] = [s]
+
 
 ####### STATUS TARGETS
 from buildbot.status import html

try server