I have java repository which I am trying to onboard to SonarCloud. In this repo the testcases are failing at the moment. Hence I want to configure only static code analysis on SonarCloud and avoid running commands like
mvn -B verify org.sonarsource.scanner.maven:sonar-maven-plugin:sonar as prescribed by SonarCloud.
Is there a way to do this? Based on this topic, I think it is possible with some additional configuration. Need further details for same.
- ALM used (GitHub)
- CI system used (github actions)
- Scanner command used when applicable (private details masked)
- Languages of the repository (java)