5

Following the documentation here, I am trying to use vmImage: 'ubuntu-latest' in Azure Devops Server.

How can I use vmImage: 'ubuntu-latest' in my Azure DevPps Server?

Matt
  • 3,658
  • 3
  • 14
  • 27
Arm-m
  • 67
  • 1
  • 1
  • 4

1 Answers1

2

We can't use ubuntu-latest in Azure DevOps Server.

Those VmImages are only for Microsoft-hosted agents and Microsoft-hosted agents are only for Azure Devops Service.

Please check the statement from the documentation:

Microsoft-hosted agents are only available with Azure DevOps Services, which is hosted in the cloud. You cannot use Microsoft-hosted agents or the Azure Pipelines agent pool with on-premises TFS or Azure DevOps Server. With these on-premises versions, you must use self-hosted agents.

Since you're using the Azure Devops Server, you should install the Self-hosted agents. About how to choose specific agent in self-hosted agent pool, you can check demands syntax for more details.

Matt
  • 3,658
  • 3
  • 14
  • 27
LoLance
  • 25,666
  • 1
  • 39
  • 73