News

Automatic Analysis for Bitbucket Cloud Repositories in SonarQube Cloud

SonarQube Cloud automatic analysis now supports Bitbucket Cloud repositories: analysis starts with no CI configuration, across more than 20 languages.

2 min read

According to Sonar’s announcement, automatic analysis is now available in SonarQube Cloud for Bitbucket Cloud repositories: the service reads the code directly from the repository, so teams can get started without any CI configuration.

What do teams get?

  • Analysis of the default branch starts automatically after the project is imported.
  • The analysis runs after every push to the default branch and on every pull request, with results shown in Bitbucket pull requests.
  • More than 20 languages are supported, including JavaScript, TypeScript, Python, Java, C# and C/C++.

How to get started

  1. Connect your Bitbucket Cloud workspace to a SonarQube Cloud organization using the SonarQube Cloud for Bitbucket Cloud app.
  2. Import the repositories you want to analyze.
  3. The analysis starts automatically.

If your workspace was connected before August 31, 2026, it is probably using the older SonarQube Cloud Connect app. In that case you first need to switch to the new app, then enable automatic analysis for each project under Administration > Analysis Method. It is enabled by default for new projects; administrators on the Enterprise plan can disable it at the organization level. The rollout is gradual, and the feature appears once it becomes available for your organization.

Limitations

  • Java, C#, VB.NET, C and C++ are not part of the first analysis; they are added from the next analysis of the default branch, provided they meet the Java and .NET requirements respectively. If a repository contains both Java and .NET code, only the language with the larger amount of code is analyzed.
  • For Java, a Maven or Gradle build file and less than 10 MB of code are required; for .NET, a .csproj or .vbproj file.
  • Pull requests coming from forks are not analyzed, and Bitbucket Data Center is not supported.
  • Code coverage and private dependencies require CI-based analysis.

According to the documentation, automatic and CI-based analysis must not be used together: if a project already has a CI analysis configured, it must be disabled before enabling automatic analysis, otherwise the CI analyses will fail and the build will break as well. Conversely, if you want CI-based analysis on a project, automatic analysis must be disabled for that project.

What should you do? Teams using Bitbucket Cloud should check which app their workspace was connected through, and try automatic analysis on a new or smaller project.

Sources

Original announcement

Joan profile picture

Joan, SonarSourcer (Sonar)

Originally published on the Sonar Community forum on 20 November 2026: Automatic analysis for Bitbucket Cloud in SonarQube Cloud

About the editor

Dr. Kabai Márton Tamás

Dr. Kabai Márton Tamás, Owner and Managing Director, Szitár-Net Kft.

Source: Sonar Community

Back to all news

Edited by

Dr. Márton Tamás Kabai

Managing Director, Szitár-Net Kft.

Managing Director of Szitár-Net Kft. The company has worked with automated source code analysis for more than 10 years and, as the official SonarSource partner in Hungary, helps banks, public institutions and large enterprises adopt SonarQube. His talks cover code quality, cybersecurity compliance and secure AI-assisted development.

More articles LinkedIn Work with us

More news

SonarSource Partner