Update TemplateEngine and PR builds from Ubuntu 20.04/22.04 to 24.04 #53012
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
The
1es-ubuntu-2004-openimage is no longer available inNetCore-Svc-Publicpool, causing TemplateEngine PR builds to fail. Updated to Ubuntu 24.04 LTS which is now the recommended version for Azure DevOps pipelines.Changes
Updated
eng/template-engine.yml:Ubuntu_20_04_TemplateEngine→Ubuntu_24_04_TemplateEngine1es-ubuntu-2004[-open]→1es-ubuntu-2404[-open]ubuntu.2004.amd64.open→ubuntu.2404.amd64.openandUbuntu.2004.Amd64→Ubuntu.2404.Amd64Updated
.vsts-pr.yml:Ubuntu_22_04→Ubuntu_24_04ubuntu-22.04/build.ubuntu.2204.amd64→ubuntu-24.04/build.ubuntu.2404.amd64ubuntu.2204.amd64.open→ubuntu.2404.amd64.openandUbuntu.2204.Amd64→Ubuntu.2404.Amd64These changes align with Ubuntu 24.04 LTS availability in Azure DevOps and ensure all PR builds use the latest supported Ubuntu version.
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.