Skip to content

[release/v7.5.11] Fix OneBranch output variables for early .NET jobs - #27912

Merged
Aditya Patwardhan (adityapatwardhan) merged 1 commit into
PowerShell:release/v7.5.11from
adityapatwardhan:backport/release/v7.5.11/27843-3d8a5af39
Aug 31, 2026
Merged

Aditya Patwardhan (adityapatwardhan) merged 1 commit into
PowerShell:release/v7.5.11from
adityapatwardhan:backport/release/v7.5.11/27843-3d8a5af39

Conversation

@adityapatwardhan

Copy link
Copy Markdown
Member

Backport of #27843 to release/v7.5.11

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

  • Required tooling change
  • Optional tooling change (include reasoning)

Defines the OneBranch ob_outputDirectory required by the shared early-access .NET download job and the non-early fallback Windows jobs, preventing pipeline template expansion failures after prerequisite backport #27909.

Customer Impact

  • Customer reported
  • Found internally

Regression

REQUIRED: Check exactly one box.

  • Yes
  • No

Fixes the pipeline expansion regression introduced by #27795; its prerequisite backport to release/v7.5.11 was merged as #27909 before this branch was created.

Testing

The original PR was verified in ADO preview build 707888 and validated by parsing the modified YAML. For this backport, prerequisite PR #27909 was verified merged into release/v7.5.11, upstream/release/v7.5.11 was refreshed to its merge commit, and the cherry-pick completed cleanly. All three modified files parsed successfully with PyYAML; git diff --check passed; conflict-marker scans were empty; the diff was limited to the expected three pipeline YAML files; and the worktree was clean. Release pipeline CI provides the authoritative end-to-end validation.

Risk

REQUIRED: Check exactly one box.

  • High
  • Medium
  • Low

High risk because the change affects OneBranch build, package, and release pipeline definitions. Risk is constrained by the narrow three-file variable fix, clean cherry-pick onto the merged prerequisite, successful YAML and whitespace validation, and prior validation on master.

Co-authored-by: Justin Chung <chungjustin@microsoft.com>
Copilot-Session: 8784f802-9d66-4692-b64d-c0713fa213cb
Copilot AI lite review requested due to automatic review settings August 31, 2026 23:06
@adityapatwardhan Aditya Patwardhan (adityapatwardhan) added the CL-BuildPackaging Indicates that a PR should be marked as a build or packaging change in the Change Log label Aug 31, 2026
@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
There may be pipelines that require an authorized user to comment /azp run to run.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Backports a pipeline fix to release/v7.5.11 to ensure the OneBranch-required ob_outputDirectory variable is defined for early-access .NET download and non-early fallback Windows jobs, preventing YAML/template expansion failures introduced by the early .NET backport.

Changes:

  • Define ob_outputDirectory in the “skip early access .NET …” Windows jobs in release and packages stage templates.
  • Define ob_outputDirectory in the shared downloadDotnetEarlyAccess.yml job and route the download destination through it.

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 non-early-access Windows skip job to satisfy OneBranch requirements.
.pipelines/templates/stages/PowerShell-Packages-Stages.yml Adds ob_outputDirectory to the non-early-access Windows skip job to satisfy OneBranch requirements.
.pipelines/templates/downloadDotnetEarlyAccess.yml Defines ob_outputDirectory for the early-access download job and sets destinationPath to use it.

💡 Add a code-review agent skill for context-aware, tailored reviews. Learn more in the docs.

@adityapatwardhan
Aditya Patwardhan (adityapatwardhan) merged commit 29c058b into PowerShell:release/v7.5.11 Aug 31, 2026
35 checks passed
@adityapatwardhan
Aditya Patwardhan (adityapatwardhan) deleted the backport/release/v7.5.11/27843-3d8a5af39 branch August 31, 2026 23:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CL-BuildPackaging Indicates that a PR should be marked as a build or packaging change in the Change Log

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants