buildbot搭建持续集成环境-windows

建立buildbot master

在终端中执行如下命令:

buildbot create-master buildbot_master 

该命令会在当前目录下生成buildbot_master目录,且该目录下有一个配置文件为master.cfg.sample

1). 在启动之前,可以测试下配置文件。
终端下执行如下命令:

cd buildbot_master              
拷贝  master.cfg.sample 修改文件名为master.cfg 
$buildbot checkconfig master.cfg

正确则:Config file is good!

2).启动、停止

$cd buildbot_master
$buildbot start ./  

启动的时候发现没有任何输出,去目录下看twistedlog发现报错

"C:\Python27\lib\site-packages\buildbot-2017.8.29-py2.7.egg\buildbot\www\service.py", line 267, in setupSite
        raise RuntimeError("could not find buildbot-www; is it installed?")
    exceptions.RuntimeError: could not find buildbot-www; is it installed?


然后用pip install buildbot-www安装


继续报错:

"C:\Python27\lib\site-packages\buildbot-2017.8.29-py2.7.egg\buildbot\www\service.py", line 274, in setupSite
        "could not find plugin %s; is it installed?" % (key,))
    exceptions.RuntimeError: could not find plugin grid_view; is it installed?


pip install buildbot-grid-view

下载地址  https://pypi.python.org/pypi/buildbot-grid-view/0.9.10


简直不忍直视:

"C:\Python27\lib\site-packages\buildbot-2017.8.29-py2.7.egg\buildbot\www\service.py", line 274, in setupSite
        "could not find plugin %s; is it installed?" % (key,))
    exceptions.RuntimeError: could not find plugin waterfall_view; is it installed?

继续解决;

https://pypi.python.org/pypi/buildbot-waterfall-view/0.9.10


至此终于收到能看到界面:







  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 打赏
    打赏
  • 1
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

惹不起的程咬金

来都来了,不赏点银子么

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值