【问题标题】:What are all the available hosted agent pools for Azure Pipelines?Azure Pipelines 的所有可用托管代理池有哪些?
【发布时间】: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


    【解决方案1】:

    其实文档中已经提到了:

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

    例如:

    “托管”:vs2015-win2012r2

    “Windows 容器”:win1803

    【讨论】:

    • 啊,例如yml 中的win1803 与“网页设计师”中的Hosted Windows Container 相同吗?那么“网页设计师”通常有不同的名称吗? (“网页设计师”是您可以一起单击管道而不是使用 yml 文件的网页 UI,对吗?)
    • @janpio 是的,在网页设计师中他们有不同的名称,但使用相同的图像...
    • 太棒了,谢谢。哪个属于Hosted Linux Preview?该页面根本没有列出。
    猜你喜欢
    • 2021-01-05
    • 2018-10-29
    • 2019-02-20
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2019-12-12
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多