Hi guys! Info about my issue:
SonarQube: Community Edition, Version 8.9 (build 43852)
What I’m trying to achieve: make SonarQube analyze my source code directly from git repository hosted on GitHub, without having to run the build and scanner on a separate machine
What I have alraedy tried:
I’ve connected my SonarQube to GitHub and tried to create a new project using this integration. It even detected my repository from GitHub, but as soon as I wanted to create the project, it asked me to compile the code and run the analyzer of this compiled code.
In that case, what sense does it make to add this GitHub integration? Anyway I need to configure my scanner (for .NET in my case) on a separate machine where the code is already pulled from GitHub, build the solution using MSBuild and run .NET scanner on it, so the results can be sent to SonarQube server. Am I missing something or this GitHub integration is useless here?
Isn’t it possible to configure SonarQube to just analyze the sources directly from GitHub, e.g. on every commit? I don’t want my compiled DLLs to be analyzed, just to perform static analysis of the source code from GitHub. Is that possible or I completely misunderstand something?