Azure管道的所有可用托管代理池是什么?

问题描述 投票:1回答:1

在Azure DevOps的Azure管道上,您可以使用Microsoft hosted agent pools来运行管道。你在job.pool.vmImage中将它们定义为azure-pipeline.yml

不幸的是,目前这些文档似乎只列出了list of Microsoft hosted agent pools上的一些可用代理池:

Microsoft托管的代理程序池提供5个虚拟机映像供您选择:

  • Ubuntu 16.04(ubuntu-16.04
  • Windows Server 2016上的Visual Studio 2017(vs2017-win2016
  • macOS 10.13上的Xcode 9(xcode9-macos10.13
  • Windows Server 1803(win1803
  • Windows Server 2012R2上的Visual Studio 2015(vs2015-win2012r2

如果你去Project Settings > Agent pools,你会看到这个列表:

  • 托管(托管)
  • 托管Linux预览版(托管Linux预览版)
  • 托管macOS(托管macOS)
  • 托管Ubuntu 1604(托管Ubuntu 1604)
  • 托管VS2017(托管VS2017)
  • 托管Windows容器(托管Windows容器)

该列表似乎缺少“Windows Server 1803”和“Visual Studio 2015”代理池。 它有“托管”,“Linux预览”和“Windows容器”的附加选项 - 但没有指定在vmAgent中使用的“azure-pipeline.yml字符串”。

Azure管道的所有可用托管代理池(记录和未记录的)以及它们的vmImage字符串到azure-pipeline.yml的是什么?

azure-devops azure-pipelines
1个回答
2
投票

实际上,文件中已经提到过:

If your development team uses...    ...then choose this image...    ...or pool in web designer

例如 :

“托管”:vs2015-win2012r2

“Windows容器”:win1803

enter image description here

© www.soinside.com 2019 - 2024. All rights reserved.