-
which versions are you using (SonarQube, Scanner, Plugin, and any relevant extension)
My JaCoCo coverage is at 0% after an upgrade from 5.6.7 to 6.7.7.
SonarQube : 5.6.7 to 6.7.7
Database : MySql
-
what are you trying to achieve
I am trying to upgrade my sonarQube from SonarQube 5.6.7(MySQL) —> SonarQube 6.7.7(MySQL) -> SonarQube 6.7.7(PostgreSQL) --> SonarQube 7.9.5(PostgreSQL) -> SonarQube 8.1(PostgreSQL).
-
what have you tried so far to achieve this.
I upgraded SonarQube 5.6.7(MySQL) —> SonarQube 6.7.7(MySQL) . After this upgrade I validated the existing data. Code Coverage percentage is not showing correctly after upgrade.
- I downloaded fresh sonarqube 6.7.7LTS installer from sonar site.
- Unzipped the sonarqube 6.7.7LTS file.
- Updated existing sonar database properties in sonar.properties file.
- started the server.
- Upgraded using below URL.
http://localhost:9000/setup
- All the data upgraded properly except coverage.
Any help would be greatly appreciated.
Hi Pradeep, welcome to the community!
The last supported version of SonarQube is the 7.9.5 Long Term Support or, alternatively, SonarQube 8.6. Please make sure to upgrade to a supported version and try again.
Best regards,
Daniel
Hi Daniel,
Currently, we are on SonarQube 5.6.7LTS. As per documentation for upgrading to 7.9.5 LTS, we need to follow the below upgrades.
5.6.7(MySQL) —> SonarQube 6.7.7(MySQL) -> SonarQube 6.7.7(PostgreSQL) --> SonarQube 7.9.5(PostgreSQL) .
I am facing an issue in the first upgrade i.e, 5.6.7(MySQL) —> SonarQube 6.7.7(MySQL). Existing Code coverage is not showing after the upgrade. Any help would be greatly appreciated.
Thanks,
Pradeep G.
Pradeep,
Your migration path is right. And before checking that every bit works, you would need to complete it fully. This issue should not prevent you from moving up to 7.9.5 LTS. Once in the supported version, you should then validate that everything is working, and you should find help in the community.
Cheers,
Daniel