[Buildbot-devel] WebStatus -> master.cfg bridge?

Ben Hearsum bhearsum at mozilla.com
Wed Mar 12 16:11:06 UTC 2008

There's a patch that allows you to set arbitrary BuildProperties from  
WebStatus, this might do what you need. You'd have to something like  
command=["/home/...", WithProperties("%(tag)s").

Here's the ticket with the patch: http://buildbot.net/trac/ticket/87

I'm not used this, and can't vouch to it's quality.

- Ben

On 12-Mar-08, at 12:05 PM, Christopher Blunck wrote:

> Hello all,
> I work over on the Zenoss project and we started using Buildbot a  
> couple of years ago for some informal automation.  Lately we've  
> invested much more heavily and we now rely on Buildbot for a large  
> portion of our build process.  We've had great success at automating  
> a lot of our processes and are very happy with the value Buildbot  
> provides.
> I'm looking for a way to create a WebStatus -> master.cfg  
> connection.  Here's why I want to do such a thing...
> Many of our build steps invoke shell scripts that require a SVN  
> tagname as their first argument.  Those shell scripts go out and  
> actually do a bunch of work for us and they can't be replaced with  
> the functionality within Buildbot.  When we go from version 1.0.0 to  
> 1.0.1 to 1.0.2 we update a variable in our master.cfg that is passed  
> down to the scripts as an argument.
> It would be EXTREMELY helpful for us to be able to build a web  
> interface that allows our build engineers to provide the value for  
> that variable before kicking off a build.  We've modified the front- 
> end to buildbot by modifying the index.html file in the public_html  
> directory, so we have familiarity with how that process works.
> Is there some kind of glue code you guys have that allows us to  
> accept name/value pairs encoded in the URL and use them inside of  
> our build steps?  I would like to be able to create a URL that looks  
> like this:
>  http://buildmaster/builders/corezenoss_trunk_cent5-64?tag=trunk
> And then in our master.cfg do something that looks like this:
> corezenoss_steps = [
>     FilenameAwareBuild(command=[
>        "/home/buildslave/bbscripts/core/build_rpm.sh",
>        webenv['tag'],
>     ])]
> Do you know if there already is a way for me to access WebStatus  
> information from within my master.cfg?
> Or can you recommend another approach we can take to accomplish the  
> same thing?
> Thanks for whatever help you can provide!
> -c
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2008.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/_______________________________________________
> 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