[Buildbot-devel] Command-line build master interface

Nick Trout nick at rockstarvancouver.com
Sat Jul 9 03:21:15 UTC 2005


Hi Joe, I was just messing around with that code and I got that same
error. Its probably because you're not specifying the correct port for
the TextClient to talk to the server. In your config, when you create
the PBListener you specify a port: client.PBListener(XXXX). You need to
pass this same port to the TextClient. The one used by default in the
test example conflicted with my slave port. To run the TextClient:

	python base.py localhost:XXXX

(if you're testing locally and the PBListener port was XXXX). I used
8007 for slaves, 8008 for TextClient and 8010 for waterfall.

Hope that helps. You might also want to change clients/base.py test to

	c = TextClient(master, "full")

so that you see all the messages. I believe this is just a listener so
you cannot control the process from here. I don't think there is a
mechanism to control BB from the command line remotely. 

Nick


> -----Original Message-----
> From: buildbot-devel-admin at lists.sourceforge.net
[mailto:buildbot-devel-
> admin at lists.sourceforge.net] On Behalf Of Joe MacDonald
> Sent: Wednesday, July 06, 2005 12:26 PM
> To: buildbot-devel at lists.sourceforge.net
> Subject: [Buildbot-devel] Command-line build master interface
> 
> Hey everyone,
> 
> I've been playing with buildbot for the last few days and am
> considering it for a project but I can't seem to find a command line
> interface to the build master.  I can use the web interface on the
> build master, but I don't always want to have to connect to it though
> a web browser (or IRC, I guess).  Does such a thing exist, or does my
> question even make sense?  I've been looking at the TextClient class
> but I don't see anything in runner.py that looks promising except for
> the status update thing (which also doesn't seem to work for me, all I
> ever see out of it is "Unhandled error in Deferred:" and nothing
> else).
> 
> My current configuration is based on the simple master.cfg, in case
> that's relevant.
> 
> Thanks,
> -J.
> 
> --
> -Joe.
> 
> 
> -------------------------------------------------------
> SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
> from IBM. Find simple to follow Roadmaps, straightforward articles,
> informative Webcasts and more! Get everything you need to get up to
> speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=ick
> _______________________________________________
> Buildbot-devel mailing list
> Buildbot-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/buildbot-devel




More information about the devel mailing list