VSTS中的NuGet恢复总是需要2分钟

时间:2017-12-27 13:58:21

标签: azure-pipelines nuget-package-restore

在VSTS中,我的nuget恢复任务暂停2分钟,此日志为:

<form method="post"
      id="form1" 
      action-xhr="url of X api" 
      on="submit-error:otpScreen.show">
.
.
.
</form>
<form method="get"
      action-xhr="url of Y api"
      on="submit-success:event.response.code==1?form1.submit:otpScreen.hide"  //here i getting syntax error
>
<div id='otpScreen'>.......</div>
</form>

所以我的问题是,2017-12-26T21:20:51.7164100Z [command]d:\a\_tool\NuGet\4.3.0\x64\nuget.exe restore d:\a\1\s\MarketMaking.sln -Verbosity Detailed -NonInteractive -ConfigFile d:\a\1\Nuget\tempNuGet_1748.config 2017-12-26T21:23:01.0823030Z NuGet Version: 4.3.0.4406 2017-12-26T21:23:01.0823494Z MSBuild auto-detection: using msbuild version '15.4.8.50001' from 'C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\MSBuild\15.0\bin'. Use option -MSBuildVersion to force nuget to use a specific version of MSBuild. 2017-12-26T21:23:01.0823786Z MSBuild P2P timeout [ms]: 120000 2017-12-26T21:23:01.0824353Z C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\MSBuild\15.0\bin\msbuild.exe "d:\a\_temp\NuGetScratch\wn5wzq0b.1ki.nugetinputs.targets" /t:GenerateRestoreGraphFile /nologo /nr:false /v:q /p:NuGetRestoreTargets="d:\a\_temp\NuGetScratch\zpip1pyk.mzi.nugetrestore.targets" /p:RestoreTaskAssemblyFile="d:\a\_tool\NuGet\4.3.0\x64\nuget.exe" /p:RestoreSolutionDirectory="d:\a\1\s" /p:RestoreConfigFile="d:\a\1\Nuget\tempNuGet_1748.config" 2017-12-26T21:23:01.0824650Z 2017-12-26T21:23:01.0824770Z Restoring NuGet package Antlr.3.5.0.2. 2017-12-26T21:23:01.0825025Z Restoring NuGet package Autofac.4.6.0. 是什么?我可以将其关闭以使每次构建恢复2分钟吗?

0 个答案:

没有答案