Deploy SonarQube

Review the quality of code on the main branch of each repository and give release managers a repeatable check before deployment.

USD 299 a month on Team for one server, with unlimited apps and deployment automation through the Pilae Agent. Pilae Cloud machines are rented separately.

Start deploymentInfrastructure

Runs on
Your own hardware or a Pilae Cloud region you choose
Replaces
SonarQube Cloud
Licence
LGPLv3 core and SSAL analyzers
Your serversAdvisoryPatchSandboxPolicyDeployLive

SonarQube Community Build among the engineering and security apps

Source code, container images, secrets and security events. The systems an auditor asks about first, kept where you can show them.

SonarQube Community Build system requirements

Before anything is deployed, this is what has to exist. We size it with you in the first session, and we say so when your own hardware is already enough.

Where it runs
Your hardwarebare metal, VMware, Proxmox, Hyper-V or Kubernetes, in your datacentrePilae Cloud regionzur1 fra1 fal1 gra1 ams1 hel1 …machines dedicated to you, in the region your contract namesHTTPS andanalysis tokensprivate meshaccess by identityencrypted tunnelencrypted, offsiteSonarQube Community Buildpinned, patched, watched01CI runnerSource checkout andscanner02DatabaseExternal PostgreSQL03ComputeWeb, Compute Engine andElasticsearchYour teamthe people you allowYour identity providerKeycloak or Entra IDPilae Agentplans, asks, applies, recordsPilae consolechange policy and logYour backup targetstorage you own, at asecond sitea second datacentre,same jurisdictionYour hardwareyour servers, your networkPilae Cloud regionzur1 fra1 fal1 gra1 …private meshby identitytunnelencryptedSonarQube Community Buildpinned, patched, watched01CI runnerSource checkout andscanner02DatabaseExternal PostgreSQL03ComputeWeb, Compute Engineand ElasticsearchYour teamthe people you allowYour sign-inKeycloak, Entra IDPilae Agentplans, asks, applies, recordsPilae consolepolicy and logYour backupsa second sitea second datacentre
On your hardware: the Pilae Agent installs SonarQube Community Build and what it needs on the machines you choose and runs beside it, and encrypted backups go to storage you own at a second location you pick.In a Pilae Cloud region: the same setup on machines dedicated to you, in the region your contract names, with encrypted backups in a second datacentre inside the same jurisdiction.
All 4 requirements, and why each is there
  1. CI runnerSource checkout and scannerIdentify the language-specific build and coverage steps that must finish before analysis.
  2. DatabaseExternal PostgreSQLSelect a database version supported by the target build and allow low-latency access from the application server.
  3. ComputeWeb, Compute Engine and ElasticsearchSize from the largest repository and the number of reports submitted together after merges.
  4. AccessHTTPS and analysis tokensRestrict the scanner identity to its intended projects. Control who can read source and findings or change release gates.

Running SonarQube Community Build in production: what it takes

  1. Check the age of the oldest report

    Compare scanner submission time with Compute Engine completion. A growing queue can delay releases even while users can sign in.

  2. Exercise the release decision

    Use a designated test project with a known passing revision and a known failing one. Confirm the CI job receives each result and distinguish a wait timeout from a failed quality condition.

  3. Restore the evidence

    Restore the database and server configuration in isolation on a compatible version. Check access to a private project, open a retained finding and process a new test analysis before approving recovery.

Deployment reference

Wait for the quality decision in CI

sonar.qualitygate.wait=true
sonar.qualitygate.timeout=300
These scanner properties come from Sonar’s analysis parameter reference. This example gives the server five minutes to finish processing the submitted report.

Migrating from SonarQube Cloud to SonarQube Community Build

Treat the move as a fresh analysis of the same source revision. Keep a record of the Cloud project's gate, rule profile, exclusions, accepted issues and new-code definition. Decide how long reviewers need the old issue discussions and historical results before changing the CI job.

Moving from SonarQube Cloud to SonarQube Community Build, step by step

  1. Select a representative repository: Pick a project with a known coverage report and a recent release decision. Record the commit, language mix, scanner version, rule profile and set of included files. List any pull-request checks the team relies on.
  2. Analyse the same commit twice: Give the trial project a separate token. Run both checks on the same revision and coverage file. Compare analysed file counts, new-code baselines and a sample of issue locations. Record the reason for any gate disagreement.
  3. Hand over the release check: Set the new check to advisory until the code owner accepts the comparison. Switch the release job to wait on the new result and confirm that a failing fixture blocks the deployment. Retain the original job configuration and Cloud access for the rollback window.
  4. Preserve the decision trail: Archive the agreed historical evidence before cancelling Cloud. If the new gate blocks sound releases or misses the failing fixture, restore the old job as the sole required gate and rerun it on the pending release revision.

What SonarQube Community Build is, and who runs it

The Community Build core uses LGPLv3. The bundled analyzers have separate Sonar Source-Available License terms that limit the grant to non-competitive purposes. Review the proposed service arrangement and the terms shipped with the chosen build before commissioning it.

What a release manager can verify

Consider a release pipeline for a billing service. Tests generate a coverage report for one commit and the scanner submits that analysis. The release manager needs to know which commit was checked, which rule failed and whether the server processed the result before deployment began. A successful upload alone leaves that last question open. In a GitLab pipeline, the release job can wait for the quality gate and record the outcome alongside the revision. Sonar’s GitLab integration and scanner parameter reference

What to preserve when the server moves

The application database holds analysis metrics, issues, instance settings and queued jobs. Elasticsearch maintains an index that can be rebuilt from those records. A recovery rehearsal should therefore establish that a reviewer can find the same project and its findings after restoring PostgreSQL. Then submit a fresh report and time how long it takes to appear. Sonar’s server component reference and database requirements

Read the full briefFold the brief

The edition decision depends on where analysis runs, whether branch-level checks are required and who will provide the service. Review the distribution and the analyzer terms together. Community Build licences and Sonar Source-Available License

What the managed plans cover

Compare the operating responsibilities included in Pilae’s plans. How the platform does it.

Ours

  • A pinned version: A version we have run, not whatever latest resolves to that day.
  • A runbook: What it depends on, how it fails, what to do about it. In your repository.
  • Daily backups: Encrypted and offsite, and on Business and Enterprise restored every month. A backup nobody has restored is a file.
  • A patch window: The agent applies security updates automatically in your window, with a rollback ready.
  • Continuous monitoring: Every endpoint probed on the minute. Alerts reach your team, and on Business and Enterprise a Pilae engineer too.

Yours

  • The credentials: You hold them. Ours are separate, named, logged and revocable with one command.
  • The change policy: The agent applies updates automatically in your window. You can require human approval for selected changes or for every update.
  • The exit: The machines, data, deployment configuration and runbook are already yours. Nothing stops when our access does.

Who runs it

SonarQube Community Build runs on every plan. Team is USD 299 a month for up to 3 servers (yours, or Pilae Cloud machines at their own price) and unlimited apps, with no charge per server.

Compare the plans

SonarQube Community Build: common questions

Can Community Build analyse every feature branch?

Sonar documents Community Build for main-branch analysis. If reviewing each pull request before merge is mandatory, include that requirement in the edition assessment.

Why does the dashboard update after a scanner upload?

The scanner submits a report. The server queues it for the Compute Engine, which processes it and stores the results. A release job can wait for the resulting gate decision.

Can the old Cloud project be retired immediately?

Keep access until reviewers have checked the historical findings, accepted issues, release decisions and retention obligations they still depend on. Reanalysing source creates a fresh result.

What should we prepare before deployment?

Bring the main languages, repository sizes, peak simultaneous builds, CI system, required branch checks and access rules. Include the hosting arrangement for review against the analyzer licence.

Talk to an engineer about your SonarQube Community Build

Tell us about the deployment you already have, or the one you are about to start.

Start deployment

Compare plans and prices, or write to us with a question this page leaves open.