2017-10-11 156 views
-1

我已經成功運行了一個針對dotnet核心Web應用程序的構建定義數月,但構建已開始失敗。嘗試在我的項目上運行dotnet恢復命令時發生該錯誤。VSTS dotnet恢復命令無法獲取nuget包

https://i.imgur.com/4EioYjr.png

我收到的時候還原任務以下錯誤運行:

Retrying 'FindPackagesByIdAsync' for source 'https://api.nuget.org/v3- 
    flatcontainer/netcore.mailkit/index.json'. 
    Response status code does not indicate success: 504 (Gateway Timeout). 
    Retrying 'FindPackagesByIdAsync' for source 'https://api.nuget.org/v3- 
    flatcontainer/netcore.mailkit/index.json'. 
    Response status code does not indicate success: 504 (Gateway Timeout). 

我有手動運行DOTNET我的本地機器上恢復命令,並沒有得到錯誤。

有沒有人在VSTS中遇到過這樣的事情?

謝謝

+0

你鏈接的圖像VSTS建立正確的定義,它不能達到? –

+0

圖片上傳但只生成圖片文字。我已經添加了圖片的直接鏈接。 – psycho

+0

你還可以顯示詳細的構建日誌嗎? –

回答