Using sonar-scanner for gradle version 3.3
plugins {
id "org.sonarqube" version "3.3"
}
We have some mandatory “master” pipelines all of our 6 java microservices must run on github actions, and for one of them the ./gradlew sonarqube step was failing with not much information, the logs were showing:
java.lang.IllegalStateException: Unable to load component class org.sonar.scanner.scan.filesystem.InputComponentStore
Before we could investigate more changing the log level to debug on build.gradle for that particular service someone suggested to add the paramater -Dsonar.log.level=INFO on that master pipeline that executed the ./gradlew sonarqube command
And boom suddenly the error was gone.
out of curiosity, can anyone explain this behaviour?