小编mev*_*sim的帖子

Azure Devops - 无法构建从 vs2017-win2016 到 windows-latest 的管道代理

我的管道运行后,它给了我以下警告。

##[warning]The windows-2016 environment will be deprecated on November 15, 2021, 
and removed on March 15, 2022. Migrate to windows-latest instead. 
For more details see https://github.com/actions/virtual-environments/issues/4312
Run Code Online (Sandbox Code Playgroud)

看到该警告后,我尝试将 Agent Sepecification 从 vs2017-win2016 更改为 windows-latest。但代理规范下拉列表中没有 Windows 最新选项。

代理规范下拉列表

所以,我认为我可以从管道 yaml 文件更改它。但我无法在 yaml 编辑器上编辑管道。因为编辑页面仅以 UI 编辑器格式显示,如下图所示。

任务助手界面

我的问题是,如何打开 yaml 文件格式的管道编辑页面?如果不允许这样做,我如何为代理规范选择 windows-latest 选项?

yaml azure-devops azure-pipelines

2
推荐指数
1
解决办法
4763
查看次数

标签 统计

azure-devops ×1

azure-pipelines ×1

yaml ×1