2016-08-25 64 views
2

我TravisCI建設不斷失敗,並且我收到以下錯誤:命令「EVAL混帳取起源+參/拉/ 7 /合併:」失敗

The command "eval git fetch origin +refs/pull/7/merge:" failed 3 times.

這是錯誤的完整的跟蹤:

$ 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. 
+0

回覆鏈接或'.travis.yml'? –

+0

https://travis-ci.org/deepakmahakale/coderails/builds/154784329 –

+0

可能是因爲你關閉了公關並刪除了源分支:v –

回答

0

這很可能是因爲您試圖構建已合併/關閉的PR。

我以前經歷過同樣的錯誤。

當它發生在我身上時,我通常只是將一個PR合併到master中(但並未刪除PR中的分支)。

然後我切換到Travis,並啓動(現在合併)PR分支的構建,而不是主。該分支仍然在那裏,但我猜想,自公關合並後,特拉維斯無法獲取。