[release/v7.4.20] Fix OneBranch output variables for early .NET jobs - #27920
Merged
Aditya Patwardhan (adityapatwardhan) merged 1 commit intoSep 1, 2026
Conversation
Co-authored-by: Justin Chung <chungjustin@microsoft.com> Copilot-Session: 8784f802-9d66-4692-b64d-c0713fa213cb
Aditya Patwardhan (adityapatwardhan)
requested a review
from a team
as a code owner
September 1, 2026 01:13
|
Azure Pipelines: There may be pipelines that require an authorized user to comment /azp run to run. |
Copilot started reviewing on behalf of
Aditya Patwardhan (adityapatwardhan)
September 1, 2026 01:14
View session
Contributor
There was a problem hiding this comment.
Pull request overview
Backports the upstream fix to ensure OneBranch Windows job template expansion succeeds for the early-access .NET job path and the non-early-access (fallback) Windows jobs on release/v7.4.20 by defining the required ob_outputDirectory and using it as the early-access download destination.
Changes:
- Define
ob_outputDirectoryfor the non-early-access Windows “skip” jobs in both release and packages stage templates. - Define
ob_outputDirectoryindownloadDotnetEarlyAccess.ymland use it asdestinationPathfor early-access downloads.
Reviewed changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| .pipelines/templates/stages/PowerShell-Release-Stages.yml | Adds ob_outputDirectory to the Windows fallback/skip job to prevent OneBranch expansion failures. |
| .pipelines/templates/stages/PowerShell-Packages-Stages.yml | Adds ob_outputDirectory to the Windows fallback/skip job to prevent OneBranch expansion failures. |
| .pipelines/templates/downloadDotnetEarlyAccess.yml | Introduces ob_outputDirectory and routes early-access download destination through it. |
💡 Add a code-review agent skill for context-aware, tailored reviews. Learn more in the docs.
Patrick Meinecke (SeeminglyScience)
approved these changes
Sep 1, 2026
Aditya Patwardhan (adityapatwardhan)
merged commit Sep 1, 2026
b159841
into
PowerShell:release/v7.4.20
36 checks passed
Aditya Patwardhan (adityapatwardhan)
deleted the
backport/release/v7.4.20/27843-3d8a5af39
branch
September 1, 2026 01:27
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.
Backport of #27843 to release/v7.4.20
Triggered by Aditya Patwardhan (@adityapatwardhan) on behalf of Justin Chung (@jshigetomi)
Original CL Label: CL-BuildPackaging
/cc @PowerShell/powershell-maintainers
Impact
REQUIRED: Choose either Tooling Impact or Customer Impact (or both). At least one checkbox must be selected.
Tooling Impact
Fixes OneBranch pipeline expansion for PowerShell 7.4 package and release jobs by defining the required ob_outputDirectory variable for the shared early-access .NET job and the non-early Windows fallback jobs, and by using that output directory as the early-access download destination.
Customer Impact
Regression
REQUIRED: Check exactly one box.
Regression introduced by PR #27795, which added the affected early-access and fallback Windows jobs without the ob_outputDirectory variable required by the OneBranch Windows job template.
Testing
Verified prerequisite backport PR #27910 is merged at the tip of upstream/release/v7.4.20, then cherry-picked the authoritative #27843 merge commit. Parsed all three changed YAML files successfully with PyYAML, confirmed the changed-file set exactly matches the original PR, ran git diff --check with no whitespace errors, scanned all changed files with no conflict markers found, and confirmed a clean worktree.
Risk
REQUIRED: Check exactly one box.
High risk because the change affects OneBranch build, package, and release pipeline job expansion on the servicing branch. Risk is reduced by the narrow three-file change, direct clean cherry-pick after its prerequisite, exact changed-file validation, successful YAML parsing, and clean whitespace and conflict-marker checks.