We have many Java projects whose new code coverage is not working. The coverage for new code is always --.
We have tried many things but nothing works: sonar.projectDate property with an ancient date, many different versions for jacoco and sonar maven plugins.
This problem doesn’t occur in all projects. It works on some of them. It seems to be a random behavior.
Versions details are:
- SonarQube 7.9.3 (build 33349)
- Java versions for projects: 7 and 8
- Jenkins version 2.235.1