My dev team is using Azure Devops' Microsoft hosted build agent, but would like to have a higher performing build agent. The current build time for us is sometimes taking more than 5 mins which is not desirable.
We would prefer not to go self-hosted route as then we will require the task of managing our own build agents. We simply do not have the resources for such a task at this stage.
Is it possible to upgrade to a higher performing Microsoft-hosted build agent on Azure DevOps?
It could simply be that we need to optimise how we a structuring our builds, and then will improve the build time - but would like to know if such an option available.
Thank you!
The answer is No!
Please see below answer from Microsoft site.
We can't increase the memory, processing power, or disk space for Microsoft-hosted agents, but you can use a self-hosted agent that is hosted on a machine that has your desired specifications.
You can also consider using parallel jobs to build your pipeline as a workaround.
This blog Reducing Longer Build Times in CI Pipelines — Parallel Builds & Build Agents with Azure DevOps might be helpful to you.