Buildbot 0.8.8
Configuration for the poller:
c['change_source'].append(GitPoller(
repourl='git@git:chip_b',
branches=['master','A7.0.0'],
project='chip-b',
pollinterval=100))
c['change_source'].append(GitPoller(
repourl='git@git:chip_c',
branches=['master','A7.0.0'],
project='chip-b',
pollinterval=100))
I expect this code to poll the two repositories every 100 seconds, both branches, and run some code using the scheduler:
c['schedulers'].append(SingleBranchScheduler(
name="sanity_chip-b",
change_filter=filter.ChangeFilter(project=['chip-b'], branch='master'),
treeStableTimer=300,
fileIsImportant=imp_files_for_sanity,
builderNames=["runsanity-top"]))
But I get this error:
2014-09-17 18:41:19-0700 [-] /home/buildbot/buildbot/local/lib/python2.7/site-packages/twisted/internet/utils.py:25: exceptions.DeprecationWarning: Argument strings and environment keys/values passed to reactor.spawnProcess should be str, not unicode.
2014-09-17 18:41:19-0700 [-] gitpoller: processing 0 changes: [] from "git@git:chip_c"
And no detected changes. However, I know that there were changes done.
Is the poller code correct? We just upgraded from 0.8.6 to 0.8.8 so there may be some upgrade changes. Can the poller do the poll for both branches into the same working directory?
Thanks so much.