[Buildbot-devel] need help using "buildbot sendchange" & bzr

Jean-Michel Beuken jean-michel.beuken at uclouvain.be
Mon Feb 2 19:32:12 UTC 2009


Hello,

I'm just beginning to learn buildbot and bzr

I would like to use in the VC , a command like :

buildbot sendchange --master='buildmasterHost:11111' --username=beuken 
--revision_number=285 --branch='5.8.0-public' SomeFile

where the username, revision_number and branch  were set by a cron 
script ( it checks nightly the active branch in the bzr repositories )

the "bzr checkout"  command should be  (concatenation of username and 
branch) :

bzr checkout --revision 285 
bzr+ssh://archives.host.net/soft/5.8/beuken/5.8.0-public

but how to create the variable bzrserver (with the username (who ?) and 
branch parameters )  in the master.cfg file for the definition of builder

------------------------
bzrserver = 'bzr+ssh://archives.host.net/soft/5.8/beuken/5.8.0-public'
all_steps = [ source.Bzr(baseURL=bzrserver, mode='clobber'),
                    
shell.ShellCommand(command=["./config/scripts/makemake"],timeout=12000, 
haltOnFailure = 1),
                    shell.Configure(command=["./configure"]),
                  ]
bzr_f = factory.BuildFactory(all_steps)
------------------------

thanks in advance,

regards

jmb




-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://buildbot.net/pipermail/devel/attachments/20090202/f4d9b17a/attachment.html>


More information about the devel mailing list