We are using SonarQube community 9.4 Edition.
I have some queries on New Code using Previous version reference.
I tried the below scenarios.
Step-1: Build the Jenkins Job and created a baseline project on SonarQube dash board with 10.0.0 as project version.
Step-2: Add some lines of code and changed the project version as blank(<sonar.projectVersion></sonar.projectVersion) and build the Jenkins Job.
The project in SonarQube still showing the version as “10.0.0”. Need to understand is it possible to analysis the project with empty project version.
I need to try the below scenario.
1.Create a project with blank version.
2.set the New Code period as Previous version.
3.Add some lines of code by changing the version from blank to 1.0.0 and build the job.
4. need to check New code from Previous version “blank”
Is it possible to complete the above scenario’s ?..If yes , please let me know how we can do…