Chocolatey 启动在 Azure Pipelines 上花费不可预测的时间(有时是几分钟)

Chocolatey startup takes unpredictable time on Azure Pipelines (sometimes minutes)

我们在 Azure Pipelines 设置中使用 Chocolately。 Chocolatey 启动似乎需要不可预知的时间:可能短至几秒,也可能长达几分钟。

this example it took 13 seconds, while in this one中用了 2 分 20 秒。它总是在输出行“Chocolatey v0.10.15”之后卡住,即似乎不是包安装需要很长时间,而是 Chocolatey 启动。

问题:

检查您的日志后,我们发现 faster one used the agent 'WIN-EHTFAB4ECBV', but the another one used the agent 'fv-az238-568'. Since they use different self-agent, your issue may be caused by machine performance. You can try to use the demands 可以帮助您 select 指定代理到 运行 此管道。