BUILD-8939 sonar project version#69
Merged
julien-carsique-sonarsource merged 1 commit intomasterfrom Sep 2, 2025
Merged
Conversation
be09f43 to
23aff77
Compare
3d7042c to
0cda5b9
Compare
0cda5b9 to
298d7a0
Compare
matemoln
reviewed
Sep 1, 2025
matemoln
approved these changes
Sep 1, 2025
Reviewed-by: matemoln
298d7a0 to
17544c2
Compare
🤖 Pull Request summaryUpdates version handling and command logging across build scripts. • Version handling: Adds Focus areas for review:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



BUILD-8939 use
CURRENT_VERSIONinstead ofPROJECT_VERSIONforsonar.projectVersionparameter.The Sonar project version must remain unchanged between master and PRs for comparison purpose.
CURRENT_VERSIONis the version configured in the project, with no change, fix or cleanup (like-SNAPSHOT).PROJECT_VERSIONis the sanitized version, and appended with the build number for most cases (equivalent to the release version). There are a few cases for which the version is kept unchanged, equal toCURRENT_VERSION.Sonar parameter updated in
build-gradle,build-maven,build-npm,build-poetry, andbuild-yarn.For consistency, all
set_project_version()functions now exportCURRENT_VERSIONandPROJECT_VERSION.Tested by: