【问题标题】:Buildbot having issues with GitPollerBuildbot 遇到 GitPoller 问题
【发布时间】:2012-08-22 07:37:15
【问题描述】:

我已经设置了 Buildbot,并且正在尝试运行 Gitpoller 来检查代码更改。我在主机上的 twistd.log 中收到以下错误。

2012-08-22 17:10:50+1000 [-] http client disconnected before results were sent
2012-08-22 17:11:11+1000 [-] http client disconnected before results were sent
2012-08-22 17:11:21+1000 [-] gitpoller: polling git repo at <git repo censored>
2012-08-22 17:11:31+1000 [-] gitpoller: repo poll failed
2012-08-22 17:11:31+1000 [-] Unhandled Error
    Traceback (most recent call last):
    Failure: twisted.internet.utils._UnexpectedErrorOutput: got stderr: "fatal: ambiguous argument 'master..origin/master': unknown revision or path not in the working tree.\nUse '--' to separate paths from revisions\n"

2012-08-22 17:11:31+1000 [-] gitpoller: no changes, no catch_up

我在主服务器和从服务器上都设置了 SSH 密钥,并且都复制到了 Github。有人知道这可能是什么吗?

我正在运行最新版本的 Buildbot .8.6

谢谢大家

【问题讨论】:

    标签: git buildbot


    【解决方案1】:

    好吧,您好,如果您尝试使用 SSH 轮询 Buildbot 0.8.X 的 git 存储库,他们会遇到一些问题。你应该在他们的 TRAC[1] 上关注这个帖子。

    显然他们目前正在努力。

    [1]http://trac.buildbot.net/ticket/2343

    【讨论】:

      【解决方案2】:

      对我有用的解决方法是删除 gitpoller 工作目录 (gitpoller-workdir),然后重新启动 buildbot,正如已接受答案中链接的消息中所建议的那样。

      【讨论】:

        猜你喜欢
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 2014-11-30
        • 2021-08-09
        • 2017-05-02
        • 2021-02-01
        • 2012-10-31
        • 2019-07-26
        相关资源
        最近更新 更多