2017-10-11 154 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

你还可以显示详细的构建日志吗? –

回答