【问题标题】:buildbot on windows as a serviceWindows 上的 buildbot 作为服务
【发布时间】:2010-11-09 20:04:34
【问题描述】:
在遵循on their website 概述的关于如何在 Windows 上设置 buildbot 的建议后,我还有最后一个问题 - 我有多个从站和一个主站都设置在一台计算机上(它们都是演示从站,对吧现在,做一些简单的事情——稍后当我们将其中一些拆分到他们自己的机器上时,这将不是完全相同的问题),那么我如何将它们全部作为服务运行?我尝试将我所有的从/主目录添加到服务中,并尝试再次运行他们的服务设置工具,但无济于事。
我觉得我错过了一些简单的东西,如果有人能指出我正确的方向,我将不胜感激。
【问题讨论】:
标签:
windows
service
buildbot
【解决方案1】:
好的,我链接到的 wiki 上给出的建议是错误的。他们建议使用 regedit 添加参数...由于某种原因,无法在此处指定多个构建目录。在 buildbot_service.py 中,它概述了实际应该做什么:
# - 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.
这里可以输入多个目录,用空格隔开!
【解决方案2】:
一个slave可以同时运行多个构建,所以你可能只需要一台给定机器上的一个slave。