buildbot 安装:git poll 失败
我有一个小问题。
我想安装 buildbot 所以我遵循了文档: http://buildbot.net/buildbot/ docs/latest/Installation.html
对于 master.cfg,我只是复制示例。
但当我启动 BuildBot 时,我得到了:
gitpoller: repo poll failed
....
No such file or directory: \'/tmp/gitpoller_work
我不知道为什么?
如果您有想法,
谢谢。
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
简而言之,配置 buildbot 比仅复制通用配置文件更复杂。 master.cfg.sample 只是为了提供配置构建主机和从机的粗略起点。换句话说,您必须在配置文件中提供有关实际项目、存储库和构建环境的信息。
如果您在配置时遇到问题,文档非常全面。我只遇到了一些比文档无法回答的晦涩难懂的问题,此时我在他们的 IRC 频道(#buildbot)上求助于好心人 - 他们的一些开发人员="http://webchat.freenode.net/" rel="nofollow">freenode),他们非常有帮助。
In short, configuring buildbot is more involved that just copying a generic config file. The master.cfg.sample is merely meant to provide a rough starting point for configuring your buildmaster and slaves. In other words, you're going to have to provide the information about your actual projects, repositories, and build environments in the config file.
If you're having trouble with the configuration, the doc is pretty comprehensive. I only had a few problems with stuff more obscure than the doc can answer, at which point I turned to the nice folks - a number of their developers - on their IRC channel (
#buildbot
on freenode), who were very helpful.git poller 似乎正在寻找的目录看起来很奇怪(它有 ` 和 \ 和 /)。就我个人而言(并与当前示例配置相匹配),我更喜欢使用主目录下的目录。当前示例配置使用
workdir='gitpoller-workdir'
。如果您有多个GitPoller
,目前您将需要使用多个目录。更新:在 buildbot 0.8.7 中,有一个新的
GitPoller
,它不需要多个工作目录,并且默认为合理的目录。如果使用 0.8.7+,则不应指定workdir
。The directory that the git poller seems to be looking for seems quite strange (it has ` and \ and /). Personally (and matching the current sample config), I prefer using a directory under the master directory. The current sample config uses
workdir='gitpoller-workdir'
. If you have more than oneGitPoller
, you will need to use more than one directory, currently.Update: With buildbot 0.8.7, there is a new
GitPoller
, that doesn't require multiple workdirs, and defaults to something sensible. If using 0.8.7+, you should just not specifyworkdir
.