Skip to content

Conversation

@jeffhandley
Copy link
Member

@jeffhandley jeffhandley commented Dec 20, 2025

This fixes an issue introduced by Skip tests by default in internal rolling builds (#7151)

Using parameters within a condition requires ${{ }} evaluation. https://learn.microsoft.com/en-us/azure/devops/pipelines/process/conditions?view=azure-devops#parameters-in-conditions

This fix was validated by triggering a run against this branch.

Microsoft Reviewers: Open in CodeFlow

Copy link
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

This PR fixes a syntax error in the Azure DevOps pipeline configuration where a parameter reference in a condition was missing the required ${{ }} compile-time expression syntax. This issue was preventing the runTests parameter from being properly evaluated in the codecoverage stage condition.

Key Changes:

  • Added ${{ }} wrapper around eq(parameters.runTests, true) in the codecoverage stage condition to enable proper compile-time parameter evaluation

@jeffhandley jeffhandley enabled auto-merge (squash) December 20, 2025 04:43
Copy link
Member

@ericstj ericstj left a comment

Choose a reason for hiding this comment

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

Thanks for fixing, that will teach me to trust copilot on things not validated in CI

@jeffhandley jeffhandley merged commit a4a3d80 into dotnet:main Dec 20, 2025
13 checks passed
@jeffhandley
Copy link
Member Author

Sure thing; thanks for the review, @ericstj.

@jeffhandley jeffhandley deleted the jeffhandley/fix-pipeline branch December 20, 2025 06:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants