【发布时间】:2019-02-21 16:13:57
【问题描述】:
在 Azure DevOps 的 Azure Pipelines 上,您可以使用 Microsoft hosted agent pools 来运行您的管道。您在azure-pipeline.yml 中将它们定义为job.pool.vmImage。
不幸的是,文档目前似乎只列出了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 容器(Hosted Windows Container)
该列表似乎缺少“Windows Server 1803”和“Visual Studio 2015”代理池。
它具有“托管”、“Linux 预览”和“Windows 容器”的附加选项 - 但未指定要在您的 azure-pipeline.yml 中使用的“vmAgent 字符串”。
有哪些可用的 Azure Pipelines 托管代理池(已记录和未记录)以及它们的 vmImage 字符串到 azure-pipeline.yml?
【问题讨论】:
标签: azure-devops azure-pipelines