Microsoft hosted agent pools job.pool.vmImage 在你的 azure-pipeline.yml .
job.pool.vmImage
azure-pipeline.yml
不幸的是,文档目前似乎只列出了服务器上的几个可用代理池 list of Microsoft hosted agent pools
Microsoft hosted agent池提供5个虚拟机映像 选择: Ubuntu 16.04版( ubuntu-16.04 Windows Server 2016上的Visual Studio 2017( vs2017-win2016 macOS 10.13上的Xcode 9( xcode9-macos10.13 ) win1803 ) Windows Server 2012R2上的Visual Studio 2015( vs2015-win2012r2 )
Microsoft hosted agent池提供5个虚拟机映像 选择:
ubuntu-16.04
vs2017-win2016
xcode9-macos10.13
win1803
vs2015-win2012r2
如果你去 Project Settings > Agent pools ,您将看到以下列表:
Project Settings > Agent pools
托管(托管) 托管macOS(托管macOS) 托管VS2017(托管VS2017)
该列表似乎缺少“WindowsServer1803”和“VisualStudio2015”代理池。 vmAgent 字符串“将用于 天青-管道.yml .
vmAgent
天青-管道.yml
vmImage 字符串到 天青-管道.yml ?
vmImage
实际上,文件中已经提到:
If your development team uses... ...then choose this image... ...or pool in web designer
“托管” vs2015-win2012r2