Skip to content

[release/v7.4.16] Correct Variable Template Reference in NonOfficial Pipeline Templates#27428

Merged
adityapatwardhan merged 1 commit into
PowerShell:release/v7.4.16from
adityapatwardhan:backport/release/v7.4.16/27275-d50bc2cb7
May 15, 2026
Merged

[release/v7.4.16] Correct Variable Template Reference in NonOfficial Pipeline Templates#27428
adityapatwardhan merged 1 commit into
PowerShell:release/v7.4.16from
adityapatwardhan:backport/release/v7.4.16/27275-d50bc2cb7

Conversation

@adityapatwardhan
Copy link
Copy Markdown
Member

Backport of #27275 to release/v7.4.16

Triggered by @adityapatwardhan on behalf of @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)

Fixes broken template references in NonOfficial pipeline YAML files, ensuring pipelines run successfully in release branches. Required for CI/CD health.

Customer Impact

  • Customer reported
  • Found internally

Regression

REQUIRED: Check exactly one box.

  • Yes
  • No

This is not a regression.

Testing

N/A - Pipeline YAML and documentation changes only. Verified by successful pipeline runs on main branch. No code changes affecting product binaries.

Risk

REQUIRED: Check exactly one box.

  • High
  • Medium
  • Low

Only updates pipeline YAML template references and documentation. No impact on product code or runtime behavior. Minimal risk to release branch stability.

Copilot AI review requested due to automatic review settings May 13, 2026 19:59
@adityapatwardhan adityapatwardhan requested a review from a team as a code owner May 13, 2026 19:59
@adityapatwardhan adityapatwardhan added the CL-BuildPackaging Indicates that a PR should be marked as a build or packaging change in the Change Log label May 13, 2026
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Backport of #27275 to release/v7.4.16 that fixes broken ADO pipeline template references by switching from the invalid relative form ./pipelines/templates/... to the absolute, repo-root–anchored form /.pipelines/templates/...@self. Also updates the SplitADOPipelines agent doc to codify the absolute-path convention.

Changes:

  • Correct template paths in all five .pipelines/NonOfficial/*.yml pipeline entry files (and one stages template) to use /.pipelines/templates/...@self.
  • Update .github/agents/SplitADOPipelines.agent.md to require the absolute template path convention and reflect the actual directory layout (variables/, stages/).

Reviewed changes

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

Show a summary per file
File Description
.pipelines/templates/stages/PowerShell-vPack-Stages.yml Fix SetVersionVariables.yml include to use absolute /.pipelines/...@self path.
.pipelines/NonOfficial/PowerShell-vPack-NonOfficial.yml Fix variables and stages template includes to absolute paths.
.pipelines/NonOfficial/PowerShell-Release-NonOfficial.yml Fix variables and stages template includes to absolute paths.
.pipelines/NonOfficial/PowerShell-Release-Azure-NonOfficial.yml Fix variables template include to absolute path.
.pipelines/NonOfficial/PowerShell-Packages-NonOfficial.yml Fix variables and stages template includes to absolute paths.
.pipelines/NonOfficial/PowerShell-Coordinated_Packages-NonOfficial.yml Fix variables and stages template includes; also adds WindowsHostVersion.Version: 2022.
.github/agents/SplitADOPipelines.agent.md Document the absolute template path convention; update example paths to current layout.

@adityapatwardhan adityapatwardhan merged commit 1876dcd into PowerShell:release/v7.4.16 May 15, 2026
40 checks passed
@adityapatwardhan adityapatwardhan deleted the backport/release/v7.4.16/27275-d50bc2cb7 branch May 15, 2026 18:37
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.

4 participants