命令" eval git fetch origin + refs / pull / 7 / merge:"失败

时间:2016-08-25 08:55:35

标签: git travis-ci

我的TravisCI版本连续失败,我收到以下错误:

  

命令" eval git fetch origin + refs / pull / 7 / merge:"失败了3次。

这是错误的完整痕迹:

$ git fetch origin +refs/pull/7/merge:
fatal: Couldn't find remote ref refs/pull/7/merge
Unexpected end of command stream
The command "eval git fetch origin +refs/pull/7/merge:" failed. Retrying, 2 of 3.
fatal: Couldn't find remote ref refs/pull/7/merge
Unexpected end of command stream
The command "eval git fetch origin +refs/pull/7/merge:" failed. Retrying, 3 of 3.
fatal: Couldn't find remote ref refs/pull/7/merge
Unexpected end of command stream
The command "eval git fetch origin +refs/pull/7/merge:" failed 3 times.
The command "git fetch origin +refs/pull/7/merge:" failed and exited with 128 during .
Your build has been stopped.

1 个答案:

答案 0 :(得分:3)

这很可能是因为您尝试构建已合并/关闭的PR。

我之前遇到过同样的错误。

当它发生在我身上时,我通常只是将PR合并到主人(但是还没有必要删除PR所在的分支)。

然后切换到Travis并为(现在合并的)PR分支启动构建,而不是为master。分支机构仍在那里,但我想自PR合并以来,Travis无法取得。