由于错误的功能错误,VSTS 托管的构建代理拒绝 运行
VSTS-hosted build agents refuse to run due to false capability error
我们正在使用 VSTS 构建典型的 ASP.NET MVC web 应用程序。它之前一直致力于托管构建代理,他们目前致力于本地代理。
我们正在努力让他们使用托管的 Visual Studio 2017 构建代理,这样我们就不会依赖开发人员的笔记本电脑,甚至还购买了额外的构建时间。但是,当我尝试根据托管的 Visual Studio 2017 代理队列对构建进行排队时,出现以下错误:
No registered agents found in the selected queue with the following
capabilities: azureps, npm, yarn, node.js, msbuild, visualstudio,
vstest, sqlpackage
这些托管代理应该拥有所有这些,当我查看代理队列的功能时,它似乎拥有一切,但它仍然无法构建。如果我告诉它无论如何都要排队,构建就会失败,说:
No registered agents found in the selected queue with the following
capabilities: azureps, npm, yarn, node.js, msbuild, visualstudio,
vstest, sqlpackage. Use a different queue. More
information.
该构建非常适合我们笔记本电脑上的本地代理队列 运行。是什么阻止了托管代理?
我们在构建中有 yarn task,但没有 yarn 安装程序。托管代理没有纱线。
构建仍然需要 yarn,但是将 yarn 安装程序任务放在 yarn 任务之前似乎可以让它工作。
我们正在使用 VSTS 构建典型的 ASP.NET MVC web 应用程序。它之前一直致力于托管构建代理,他们目前致力于本地代理。
我们正在努力让他们使用托管的 Visual Studio 2017 构建代理,这样我们就不会依赖开发人员的笔记本电脑,甚至还购买了额外的构建时间。但是,当我尝试根据托管的 Visual Studio 2017 代理队列对构建进行排队时,出现以下错误:
No registered agents found in the selected queue with the following capabilities: azureps, npm, yarn, node.js, msbuild, visualstudio, vstest, sqlpackage
这些托管代理应该拥有所有这些,当我查看代理队列的功能时,它似乎拥有一切,但它仍然无法构建。如果我告诉它无论如何都要排队,构建就会失败,说:
No registered agents found in the selected queue with the following capabilities: azureps, npm, yarn, node.js, msbuild, visualstudio, vstest, sqlpackage. Use a different queue. More information.
该构建非常适合我们笔记本电脑上的本地代理队列 运行。是什么阻止了托管代理?
我们在构建中有 yarn task,但没有 yarn 安装程序。托管代理没有纱线。
构建仍然需要 yarn,但是将 yarn 安装程序任务放在 yarn 任务之前似乎可以让它工作。