Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Advanced Run ID: 📒 Files selected for processing (6)
Included review availability: Your plan provides up to 10 included reviews per hour; 9 remain after this review. 📝 WalkthroughWalkthroughAzure Pipelines output variables now use ChangesAzure Pipeline Variables
Priority: ➖ Normal Estimated code review effort: 2 (Simple) | ~15 minutes Change: Other Suggested reviewers: Merge Risk: ⚪ Minimal · up to The Azure variable naming change is internally consistent and documented; the remaining hosted-integration scenarios are normal validation follow-up rather than an established merge-blocking risk. 🚥 Pre-merge checks | ✅ 2 | ❌ 3❌ Failed checks (3 warnings)
✅ Passed checks (2 passed)
Full details: Linked Issues checkExplanation Issue Resolution Record and accept the compatibility decision for Full details: Out of Scope Changes checkExplanation The adapter changes remove the existing dotted Azure Pipelines names and replace them with underscore names. Issue Resolution Do not merge the production rename or removal until Full details: Docstring CoverageExplanation Docstring coverage is 0.00% which is insufficient. The required threshold is 80.00%. Docstring coverage is scoped to functions touched by this diff. Analyzed 13 functions across 3 files. (3 skipped: 3 unsupported.)
✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
|



Description
Replace dotted Azure Pipelines variable names with
GitVersion_<Property>in v7.0 for both ordinary andisOutput=trueoutputs. For example,$(GitVersion.SemVer)becomes$(GitVersion_SemVer), andoutputs['version.GitVersion.SemVer']becomesoutputs['version.GitVersion_SemVer']. Dotted output aliases are not retained.Preserve both dotted and underscore build-number placeholders and existing environment-variable projection. Update adapter/MSBuild regression coverage, the Azure reference page, the v6-to-v7 migration guide, and
BREAKING_CHANGES.md.Related Issue
Resolves #5219
Motivation and Context
Use the 7.0 major-version boundary to align the core Azure adapter with the
GitVersion_naming convention. Existing dotted macro, expression, and dependency consumers must migrate. GitTools' Azure task already publishes underscore-prefixed/camel-case names from JSON; task support for GitVersion v7 remains separate work.How Has This Been Tested?
WriteVersionInfoTest: 11 passed.FormatArgumentTests: 29 passed.Hosted Azure cross-job/stage execution and collision/read-only scenarios have not been run. This PR remains draft pending CI and integration validation.
Checklist
Summary by CodeRabbit
Breaking Changes
GitVersion_SemVer, instead of dotted names likeGitVersion.SemVer.Documentation