Как в buildbot запустить сборку при изменениях в репозитарии?


Ответы
####### CHANGESOURCES
c['change_source'] = []

from buildbot.plugins import changes
c['change_source'] += [
    changes.GitPoller(
        repourl='/home/remizoffalex/specialistoff.net/',
        project='specialistoff',
        pollInterval=5
    )
]

from buildbot.changes.filter import ChangeFilter
specialistoff_filter = ChangeFilter(project='specialistoff')

from buildbot.schedulers import basic
c['schedulers'] += [
    basic.SingleBranchScheduler(
        name='specialistoff',
        change_filter=specialistoff_filter,
        treeStableTimer=5*60,
        builderNames=["Build SpecialistOff.NET"]
    )
]