windowsservicebuildbot

buildbot on windows as a service


After following the suggestions outlined on their website on how to set up buildbot on windows, I'm left with one last question - I have multiple slaves and one master all set up on one computer (they're all demo slaves right now, doing simple things - later on when we split some of these off to their own machines this won't be quite the same problem), so how do I run them all as services?? I tried adding all my slave/master directories to the service, and I tried running their service set up tool again, to no avail.

I feel like I'm missing something simple, and would really appreciate it if someone could point me in the right direction.


Solution

  • Okay, the advice given on the wiki I linked to was wrong. They suggest using regedit to add parameters... for some reason multiple build directories can't be specified there. In buildbot_service.py, it's outlined what should actually be done:

    #   - Start Control Panel->Administrative Tools->Services
    #   - Locate the previously installed buildbot service.
    #   - Open the "properties" for the service.
    #   - Enter the directory names into the "Start Parameters" textbox.  The
    #     directory names must be fully qualified, and surrounded in quotes if
    #    they include spaces.
    #   - Press the "Start"button.
    

    Here, multiple directories can be entered, separated by spaces!