Buildbot Howto

This page describes how to setup the AMF gateway for Buildbot that can be used by other programs to query the build status.

There will be live demo available on our BuildBot's homepage.

Note: this page is a work in progress

Download

Grab the Flex and Python example clients from SVN with:

svn co http://svn.pyamf.org/examples/sandbox/buildbot buildbot-example

Alternatively, if you just want to have a look, you can browse the example source online.

Buildbot Configuration

  1. Download the Buildbot AMF gateway and put it in your buildmaster root folder
  2. Modify your buildmaster configuration file called master.cfg and enable the AMF gateway in the WebStatus view:
    from buildbot.status import html
    from amf import AMFServer
    
    public = html.WebStatus(http_port="8080", allowForce=False)
    public.putChild('amf', AMFServer())
    
  3. Restart your buildmaster and check if the AMF gateway is working by browsing to http://localhost:8080/amf. This should return something like this:
    Method Not Allowed
    
    Your browser approached me (at /amf) with the method "GET". I only allow the method POST here.
    

Client

You can simply open the SWF file and..