Hello, I’m into docker sonarqube:lts-community.
I have this message “The main branch has no lines of code.”. I read a lot of posts and I find that there is no explanation for this message. I started an installation again and I have the same thing. How can I determine the error in this message?
I don’t see too many error messages in the code. On the scanner, we see a message “0 source files to be analyzed” and The plugin go is loading.
I tell myself that the code was not retrieved for analysis but there is no error message. In the interfaces SONAR, I see that go is present but in the scanner, there is no mention of it.
./sonar-scanner -Dsonar.projectKey=XXXXXX -Dsonar.sources=. -Dsonar.host.url=XXXXX -Dsonar.login=XXXX -Dsonar.language=go
During my previous installation, I think I saw it. But strangely he doesn’t throw me away, the variable is probably wrong (taken from a forum).
How can I move forward? so that other users can move forward. This seems like a very recurring problem.
(In the videos it works like a finger snap, it is strange )