Skip to content

Fix install dotnet for non early access release - #27892

Merged
Dongbo Wang (daxian-dbw) merged 2 commits into
masterfrom
FixGblFxdtests
Aug 27, 2026
Merged

Dongbo Wang (daxian-dbw) merged 2 commits into
masterfrom
FixGblFxdtests

Conversation

@adityapatwardhan

Copy link
Copy Markdown
Member

PR Summary

This pull request updates the pipeline templates for both release-validate-fxdpackages and release-validate-globaltools to improve version variable management and conditional parameter handling for .NET installation. The main changes focus on ensuring version variables are set early in the pipeline and that certain installation parameters are only applied during early access builds.

Pipeline improvements:

  • Added the SetVersionVariables.yml template to both release-validate-fxdpackages.yml and release-validate-globaltools.yml to ensure version variables are set before other steps run. [1] [2]
  • Updated the install-dotnet.yml template invocation in both pipelines to conditionally set the ob_restore_phase parameter only when the build is an early access build, improving clarity and correctness for early access scenarios. [1] [2]

PR Context

PR Checklist

Copilot AI lite review requested due to automatic review settings August 27, 2026 06:11
@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

This pull request adjusts PowerShell release-validation pipeline templates to ensure version variables are initialized early and to only pass certain .NET installation parameters for early-access builds.

Changes:

  • Adds SetVersionVariables.yml to both validation templates so release/version variables are established before subsequent steps.
  • Updates install-dotnet.yml invocations to pass ob_restore_phase: false only when IsEarlyAccess is true.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
.pipelines/templates/release-validate-globaltools.yml Initializes version variables earlier and gates install-dotnet’s ob_restore_phase parameter on early-access builds.
.pipelines/templates/release-validate-fxdpackages.yml Initializes version variables earlier and gates install-dotnet’s ob_restore_phase parameter on early-access builds.

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

@adityapatwardhan Aditya Patwardhan (adityapatwardhan) added CL-BuildPackaging Indicates that a PR should be marked as a build or packaging change in the Change Log Backport-7.4.x-Consider Backport-7.5.x-Consider Backport-7.6.x-Consider labels Aug 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Backport-7.4.x-Done Backport-7.5.x-Migrated Backport-7.6.x-Done 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