I was wondering if it is possible to setup a SonarQube server within a VM or a physical machine and then be able to analyse the code locally on a separate machine.
The idea is to have the code not leave the local machine and have SonarQube server analyse it.
I know that there are alternatives such as using Azure DevOps, however, all the solutions I have seen so far require the code to be stored elsewhere for analysing.
Any solutions/guidance would be greatly appreciated.
Your SonarQube server can live wherever you like. You can analyze wherever you like. You will need to check your code out to the machine where you’ll perform analysis, and your code will be uploaded to your SonarQube server. But you can control who sees it there with project permissions.