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.
Dr. Márton Tamás Kabai 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
- Connect your Bitbucket Cloud workspace to a SonarQube Cloud organization using the SonarQube Cloud for Bitbucket Cloud app.
- Import the repositories you want to analyze.
- 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
- Automatic analysis for Bitbucket Cloud in SonarQube Cloud
- Automatic analysis – SonarQube Cloud documentation
- Getting started with Bitbucket Cloud – SonarQube Cloud documentation
- Migrating to the Bitbucket Forge app – SonarQube Cloud documentation
Original announcement

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, Owner and Managing Director, Szitár-Net Kft.
Source: Sonar Community
Edited by
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 news
News
SonarQube Server LTA Releases with the Java4Shell Fix Are Now Available
SonarQube Server 2026.5.6, 2026.1.9 and 2025.4.12 LTA now include the Java4Shell fix. Azure DevOps: the @7 and @3 tasks are removed on December 7.
Read on 4 min
News
Azure DevOps extensions: @7 and @3 tasks are removed on December 7
On December 7, SonarQube Server and Cloud Azure DevOps extensions get a new major version. The @7 and @3 tasks are removed, and pipelines using them fail.
Read on 3 min
News
SonarQube Server 2025.4.12 LTA: Java Runtime Fix for Java4Shell
SonarQube Server 2025.4.12 LTA is out with the Java runtime fix for Java4Shell, so the temporary server-side JVM workaround is no longer needed.
Read on 2 min