Is it possible to run Sonar locally with Sonar Cloud?

We’ve integrated SonarCloud into our build and release pipelines via Azure.

We’d like however to be able to run sonar locally on branches in order to respond to reports without the need to kick off a remote build (chiefly code coverage reports, as this is what tends to slow down feature delivery). Ideally these scans would appear in our SonarCloud account.

It seems like this might not be possible with a could account (Sonar Lint and Sonar Scanner appear to require a sonar server URL, which I don’t believe we have).

Is there a way to do this with a SonarCloud account?

ALM via Azure DevOps
CI via Azure DevOps
C#, Xamarin in Visual Studio 2019

Hi @finbarw,

This is possible, have a look at the Run Analysis section of the documentation here.

For SonarCloud the sonar server URL you are referencing is https://sonarcloud.io

Hope this helps,
Tom

@TomVanBraband Are you able to give us an updated link? this link is broken

If you use Visual Studio this page will help you connect SonarLint to SonarCloud.

An important note from the page:

connected mode does not push or pull issues to or from the server. Rather, its purpose is to configure the IDE so that it uses the same settings as the server.