简体   繁体   English

将 VS2017 Azure DevOps 管道迁移到 VS2019

[英]Migrate VS2017 Azure DevOps pipeline to VS2019

We have a VS solution that currently uses the Hosted VS2017 agent on Azure DevOps .我们有一个 VS 解决方案,目前在Azure DevOps上使用托管 VS2017代理。 We now want to upgrade our solution to VS2019 .我们现在想将我们的解决方案升级到VS2019 However, I can't see any way to amend / update the Azure DevOps pipeline to use the windows-2019 agent.但是,我看不到任何修改/更新Azure DevOps管道以使用windows-2019代理的方法。 It only seems to be available when creating a new Azure DevOps pipeline.它似乎仅在创建新的Azure DevOps管道时可用。

Is there a way to amend / update our current Azure DevOps VS2017 pipeline to the 2019 hosted agent without having to re-create our pipeline from scratch?有没有办法将我们当前的Azure DevOps VS2017 管道修改/更新为 2019 托管代理,而无需从头开始重新创建我们的管道?

UPDATE更新

As can be seen from the screenshots below VS2019 doesn't appear in the dropdown list of available agent pools.从下面的截图可以看出,VS2019 没有出现在可用代理池的下拉列表中。

在此处输入图像描述

windows-2019 agent is not listed in Agent pool field. windows-2019 代理未在代理池字段中列出。 As agents are managed in agent pools, you can choose agent pool Azure Pipelines .由于代理是在代理池中管理的,因此您可以选择代理池Azure Pipelines

And then you will need to choose an agent in the agent specification field.然后您需要在代理规范字段中选择一个代理。 You will find agent windows-2019 there.你会在那里找到代理 windows-2019。

在此处输入图像描述

Edit your build, click on Pipeline on the top left of the editor and then select the desired agent-queue on the right panel编辑您的构建,单击编辑器左上角的 Pipeline,然后在右侧面板上单击 select 所需的代理队列

在此处输入图像描述

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM