We want to use Sonar Cloud for a private stash repository

Our company is interested in using SonarCloud for a private stash project.

  1. Our developers don’t have GitHub Accounts, how would this work.
  2. We use stash / not github or bitbucket.

Need advice on how best to set this up.

Bitbucket and Stash is the same product. Copied from Bitbucket rebrand FAQ:

  • Bitbucket Server (previously known as Stash) fits into any enterprise environment because it can be deployed within existing infrastructure or on hosted infrastructure providers such as Amazon Web Services.

Yes, Stash is now Bitbucket Server, an on-premise solution. SonarCloud is not designed to work with on-premise solutions. Instead, SonarCloud targets Bitbucket Cloud.

Is there no way to decorate Bitbucket Server PRs with Sonarcloud? We’re using Bitbucket Server, but would like to use Sonarcloud to avoid the hassle of having to maintain our own Sonarqube instance.

Hi @Afif-Sohaili-SR,

Welcome to our community forum!

As previously said, SonarCloud is designed to integrate with cloud services, like BitbucketCloud. We do not plan to integrate with on-premises solutions like Bitbucket Server.

If you want to take advantage of SonarCloud, I recommend to migrate your code to BitBucketCloud.