Skip to content

azure-pipelines: Stage 2 deprecation of old azure-pipelines templates - #2409

Merged
Brandon Waterloo [MSFT] (bwateratmsft) merged 3 commits into
mainfrom
bwateratmsft-deprecate-old-pipelines
Oct 6, 2026
Merged

Brandon Waterloo [MSFT] (bwateratmsft) merged 3 commits into
mainfrom
bwateratmsft-deprecate-old-pipelines

Conversation

@bwateratmsft

@bwateratmsft Brandon Waterloo [MSFT] (bwateratmsft) commented Oct 6, 2026 •

Copy link
Copy Markdown
Contributor

🤖

Summary

  • Escalate the three legacy azure-pipelines/ deprecation notices from warnings to Azure DevOps errors.
  • Explicitly fail each notice step with exit 1, but set continueOnError: true so subsequent build and release steps still run and pipelines partially succeed.
  • Update the legacy README to describe stage 2 and link to the migration guide. The newer azdo-pipelines/ templates are unchanged.

Part of #2177.

Validation

  • Focused PyYAML and PowerShell checks of all three deprecation steps: passed (each script logs an error and exits 1, with later steps still present).
  • git -c core.whitespace=cr-at-eol diff --check: passed.
  • Azure DevOps pipelines were not queued.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Copilot AI balanced review requested due to automatic review settings October 6, 2026 16:17
@bwateratmsft Brandon Waterloo [MSFT] (bwateratmsft) changed the title pipelines: Stage 2 deprecation of old azure-pipelines templates azext-pipelines: Stage 2 deprecation of old azure-pipelines templates Oct 6, 2026
@bwateratmsft Brandon Waterloo [MSFT] (bwateratmsft) changed the title azext-pipelines: Stage 2 deprecation of old azure-pipelines templates azure-pipelines: Stage 2 deprecation of old azure-pipelines templates Oct 6, 2026
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>

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.

Copilot review overview

🟢 Approval recommended

The three legacy entry points consistently implement the documented non-blocking error behavior.

Review effort: Balanced
Findings: None

What changed in this PR

Escalates legacy Azure pipeline template deprecation notices to non-blocking errors while preserving subsequent build and release execution.

Changes:

  • Emit deprecation errors and exit each notice step with failure.
  • Use continueOnError to allow later pipeline steps to run.
  • Document stage 2 behavior and migration guidance.
File Description
azure-pipelines/​release-extension.yml Escalates the extension release notice.
azure-pipelines/​README.md Documents stage 2 deprecation behavior.
azure-pipelines/​1esstages.yml Escalates the build-stage notice.
azure-pipelines/​1es-release-npm.yml Escalates the npm release notice.

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

@bwateratmsft
Brandon Waterloo [MSFT] (bwateratmsft) merged commit b24694c into main Oct 6, 2026
4 checks passed
@bwateratmsft
Brandon Waterloo [MSFT] (bwateratmsft) deleted the bwateratmsft-deprecate-old-pipelines branch October 6, 2026 16:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants