Fix Ubuntu build image - #65867
Merged
Merged
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
Fixes the Ubuntu agent image selection in the default Azure Pipelines build job template, as a follow-up to the pool/Ubuntu-hosting changes from #64842.
Changes:
- Adjust Linux (public) pool
ImageOverridedemand used to select the Ubuntu build image. - Update Linux (internal) pool
imagevalue to use theBuild.Ubuntu.2204.Amd64image name.
Comments suppressed due to low confidence (1)
.azure/pipelines/jobs/default-build.yml:116
- The Linux public pool demand value
ImageOverride -equals .Amd64.Openlooks like an invalid/unfinished image name (it starts with a dot and doesn’t match the naming pattern used elsewhere in this file such as1es-ubuntu-2204-openorBuild.Ubuntu.2204.Amd64). This will likely prevent agent selection and break Linux builds. Use the full expected image override string (e.g., include the missing prefix) so it matches an actual agent capability.
demands: ImageOverride -equals Build.Ubuntu.2204.Amd64.Open
This was referenced Mar 19, 2026
Member
|
ugh no this one is definitely my fault, sorry! |
mmitche
added a commit
that referenced
this pull request
Jul 15, 2026
Backport of #64842 and #65867 to release/10.0. release/10.0 still routes Linux CI/PR jobs (Components E2E and the Linux cross-build legs) to the Microsoft-hosted `vmImage: ubuntu-22.04` via the default `useHostedUbuntu: true`. This renames the parameter to `use1ESUbuntu` (default false) and routes Linux jobs to the .NET-owned dnceng pool ($(DncEng*BuildPool)) with the 1es-ubuntu-2204(-open) or Build.Ubuntu.2204.Amd64(.Open) images, matching main. - #64842: Switch default for useHostedUbuntu to false and use dnceng pool - #65867: Fix Ubuntu build image (Build.Ubuntu.2204 -> Build.Ubuntu.2204.Amd64) Copilot-Session: 06be8634-e5f3-4f62-97ad-a2691e47c43c Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Follow up to #64842. My bad, should have caught this