2010-11-09 47 views
4

在關於如何在Windows上設置buildbot的概述on their website之後,我剩下最後一個問題 - 我在一臺計算機上安裝了多個slave和一個master(它們都是所有的演示奴隸現在,做簡單的事情 - 後來當我們將它們分離到自己的機器這不會是完全相同的問題),那麼我如何將它們全部作爲服務運行?我嘗試將所有的slave/master目錄添加到服務中,然後我嘗試再次運行他們的服務設置工具,但無濟於事。windows上的buildbot作爲服務

我覺得我錯過了一些簡單的東西,如果有人能指出我正確的方向,我會非常感激。

回答

5

好的,我鏈接到wiki上的建議是錯誤的。他們建議使用註冊表來添加參數......由於某些原因,不能在那裏指定多個構建目錄。在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. 

這裏,多個目錄可以進入,用空格隔開!

0

從站可以同時運行多個版本,因此您可能只需要給定機器上的一個從站。