I'm looking for a way to have a GitPoller changesource
watch all branches instead of just one.
For now, either I specify branch='some branch'
in the GitPoller constructor, or it defaults to master
.
Even better would be to be able to specify some ref
pattern to watch.
Is that something one does already? Or does it need to code another kind of GitPoller ?
Thanks.
This is finally implemented: https://github.com/buildbot/buildbot/pull/1010.
Should be part of the upcoming release of buildbot 0.8.9.
You can use branches=True
then.
Currently GitPoller
can only watch a single branch at a time. However, you can have as many GitPoller
s as you want.
This seems to have been fixed in the latest release of buildbot 8.8.8
https://github.com/buildbot/buildbot/blob/master/master/buildbot/changes/gitpoller.py
Edit:
You can use branches=[ 'development', 'other' ]
in place of branch='development'
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With