Must-share information (formatted with Markdown):
- which versions are you using (SonarQube, Scanner, Plugin, and any relevant extension)
- how is SonarQube deployed: zip, Docker, Helm
- what are you trying to achieve
- what have you tried so far to achieve this
Do not share screenshots of logs – share the text itself (bonus points for being well-formatted)!
I’m running SonarQube * Community Edition version 9.9.2 on docker. I have a Java 8 project which I built using Java 8 and I ran the analyser on Java 17. This project doesn’t have much tests and test that are there fail with different errors. Because of that I ran the analyser with
-Dmaven.test.failure.ignore=true flag. Following is the project profile on SonarQube.
As you can see there are 0 test coverage. But regardless of that project overall status is “Passed”. I was expecting it to fail. What is the reason for it to be shown Passed here.