We upgrade our SonarQube Enterprise instance to 8.9.7.
After upgrading we get some problem.
First problem is that, although our new version is not 9.x we get the below warning.
The java version on the SonarQube server is 11.
The second problem is that, when we scan the projects, although there is no more change on code, it show there is more code change over code and it show that as new code, so because our quality gate metric, projects are getting fail. Actually the codes are not new.
We try to keep it to one question per thread, so I reserve the right to ask you to open another thread of you have followups on both questions.
Yes. This is a deprecation notice. That way when you eventually upgrade past the current LTS, you will have been thoroughly warned about the necessary JVM upgrade.
What is your New Code Period setting? When does the UI show your New Code Period starting?
Yes, I think the problem is about that. Your graphs (thanks for the screenshots!!!) show that your New Code Period starts… a year ago? It’s time to review your New Code Period Settings. At the project level that’s: Project Settings → New Code.