[Buildbot-devel] git branch support
Chad Metcalf
cmetcalf at archrock.com
Fri Oct 3 00:46:18 UTC 2008
Thanks in advance for any help. I checked trac tickets and the mailing
list archives. This seems to be a similar/same issue as: http://article.gmane.org/gmane.comp.python.buildbot.devel/3622/match=git
I'm having a hard time understanding how to setup my git branches in
Buildbot.
Our repo looks something like this:
master
origin/devel
origin/release-1_0
Developers clone the repo and track the branches by running
git checkout -b devel origin/devel
git checkout -b release-1_0 origin/release-1_0
When the notifications come in from the git commit hook, I see master,
devel, release-1_0. But when I use AnyBranchScheduler
config['schedulers'].append(AnyBranchScheduler(name="quick_firmware",
branches=['master', 'devel'],
treeStableTimer=2*60,
fileIsImportant=firmwareChange,
builderNames=["firmware_compile"]))
It works for the master but doesn't actually checkout the branch.
argv: ['git', 'fetch', 'git at git.server.com:repo.git', 'devel']
I would have expected to use a similar work flow to clone, co -b
branch origin/branch, etc. I'm guessing things are different when you
use git init as the entry point. What am I missing?
Thanks again for all your help,
Chad
More information about the devel
mailing list