Sonar * Community Edition * Version 7.9.2 (build 30863)
- what are you trying to achieve
We are trying to use sonar as Quality control in the organization and we have NodeJS and Java bases microservices as code. We release new versions accordingly with incremental numbers for Java and NodeJS. The issue we are receiving that as we have common SQ running in an environment and developers who are working on one project are developing the code to the next level. But when the time comes to run sonar analysis they use the same SQ server and rerun the analysis again and again which does not give the result at last that how much new line of code has been covered on report. Or even if they increase the version then SQ server still show the same result as previously it was showing.
How can I achieve the final report for a project. I want to see the new code and they coverages if I compare the versions.
As I am using community version what are the alternative ways. Kindly suggest.
- what have you tried so far to achieve this
I tried SNAPHOT policy that we want to work on new code then we rename branch with version-SNAPTOP and analysis it. but the time of renaming back to VERSION it still shows the same results.
NOTE: Always get new lines to covers for once. When we reran the analysis then my new coverage merge with overall and no new code shows in new coverage.