SonarQube is a platform for continuous inspection of code quality and security. It runs static analysis on source code in many languages and reports bugs, vulnerabilities, code smells, duplication and test coverage. Quality gates then decide whether a change is good enough to ship. SonarLint brings the same kind of rules into the IDE, so developers see issues while they write code.
The posts here go from basics to day-to-day operations. Overviews cover SonarQube's architecture, features, integrations and use cases, and a separate post explains how SonarLint works. Hands-on tutorials walk through installing and configuring the server on Linux or with Docker. Reference posts list common options in sonar-project.properties, sonar.properties and sonar-scanner.properties. There's a Jenkins pipeline example that fails the build when the quality gate status is ERROR, and a troubleshooting guide for startup errors from sonar.sh on Linux. You'll also find interview questions and broader comparisons of code quality and code complexity tools.
These posts help DevOps engineers wiring static analysis into CI/CD, developers who want to understand the issues SonarQube reports, and anyone preparing for interviews that cover code quality tooling.
Start here
- What is SonarQube and How it works? An Overview and Its Use Cases – Covers SonarQube's architecture, integrations, key features and use cases.
- Sonarqube Tutorails: Installation & Configuration – Install SonarQube on Linux or Docker, set up Java, start the service and open the dashboard.
- List of SonarQube sonar-project.properties options with explaination – Reference for the project keys, names, versions and source paths used when scanning a project.
- Jenkins Pipeline with Sonarqube quality gate status check fail in Jenkins – Working pipeline code that fails a Jenkins build when the quality gate fails.
- List of SonarQube sonar.properties options with explanation – Explains server-side settings such as database connection and host URL in sonar.properties.
- Starting sonar issues in linux – Diagnoses the sonar.sh 'cannot execute binary file' error and how to get SonarQube running.
- What is Sonarlint and How it works? An Overview and Its Use Cases – Shows how the IDE plugin gives real-time feedback on bugs, smells and vulnerabilities.
- <strong>Top interview questions and answers for SonarQube</strong> – Common interview questions on analysis, plugins, supported languages and how the platform works.
Latest SonarQube articles
Example of sonar-project.properties file
sonar-project.properties is the configuration file SonarScanner CLI reads from a project's root directory. It tells the scanner which project to report to, where the source and test…
Sonar Maven Plugin 1.0-beta-2: What Changed for Archiva/Nexus-Based Builds
This historical release note introduced simpler Sonar Maven Plugin behavior when using repository managers like Archiva or Nexus. Here’s what changed from beta-1, how compatibility works with Sonar versions, and how to validate legacy CI behavior.
Sonar Maven Plugin 1.0-beta-2: What Changed and How to Configure Legacy Builds
This update from the Mojo team simplified Sonar Maven Plugin configuration when using repository managers like Archiva or Nexus. Here’s a clear breakdown of compatibility, behavior differences from beta-1, and practical legacy setup guidance.
Sonar PDF Report Plugin 2.1: Integrations, SVG Support, and What the Release Actually Added
This revised note explains what was explicitly announced for Sonar PDF Report Plugin 2.1: broader plugin data inclusion and SVG image support. It also maps the reporting workflow and gives a practical adoption checklist for DevOps teams maintaining legacy Sonar setups.
Sonar 2.2 Release Highlights: Filters, Plugin Classloaders, and Upgrade Notes
Sonar 2.2 introduced homepage filters and independent plugin classloaders, aimed at faster quality triage and easier plugin development. This revised guide explains what changed, why it mattered, and where to find the original release resources.
Build Stability Plugin 1.1.1: Confirmed Changes and a Safe Legacy Rollout Plan
The original Sonar team post for Build Stability Plugin 1.1.1 is brief but important: it announces a Bamboo support fix. This revised guide explains what is confirmed, what is missing, and how to upgrade cautiously in legacy environments.
SonarQube Masterclass: 2-Day Hands-on Training for Developers, DevOps & Administrators
In modern software delivery, writing code is only one part of the engineering journey. Teams also need to ensure that the code is secure, maintainable, reliable, testable,…
How to Ship Faster Without Creating Technical Debt in 7 Key Decisions
You ship faster without creating technical debt by treating shortcuts as decisions, measuring future change cost, and refactoring the hottest code first. SonarQube rates maintainability as A…
Top 10 Static Code Analysis Tools: Features, Pros, Cons & Comparison
Introduction Static Code Analysis Tools are software solutions that automatically analyze source code without executing it to identify potential issues such as bugs, security vulnerabilities, performance bottlenecks,…
Top 10 Static Code Analysis Tools in 2026: Features, Pros, Cons & Comparison
Introduction Static code analysis tools have become a cornerstone of modern software development, helping developers detect bugs, vulnerabilities, and code quality issues before they become major problems….
Sonarqube: SonarQube Basic Workflow using Scanner CLI
In Workstation Step 1 – Install Java $ sudo apt update$ sudo apt install openjdk-17-jdk$ sudo apt install openjdk-17-jre$ java –version Step 2 – Download a Scanner…
Static Code Analysis Tools in 2024
The world of static code analysis (SCA) tools is constantly evolving, offering a wide range of options to suit diverse needs and preferences in 2024. Following is…
Code Quality tools in 2024
The code quality landscape continues to evolve rapidly in 2024, driven by several key trends: Here’s a look at some top code quality tools across categories in…
What is SonarQube and use cases of SonarQube?
What is SonarQube? SonarQube is a powerful and innovative tool that helps developers improve the quality of their code. It provides a range of static code analysis…
List of Best DevOps Security Integration Tools
The following are the best DevOps security integration tools: These are just a few of the many DevOps security integration tools available. The best tool for you…
Sonarqube Tutorails: Installation & Configuration
Prerequisite: JAVA Install JAVA Install SonarQube in Linux How to install SonarQube using docker container? How to access SonarQube? Log in to SonarQube: On the SonarQube login…
Code Complexity Tools
Are you tired of writing code that’s difficult to understand and maintain? Do you want to improve the quality of your code and make it more efficient?…
List of SonarQube sonar.properties options with explanation
Here is a list of some commonly used SonarQube sonar.properties options along with their explanations: Rajesh KumarI’m Rajesh Kumar, a DevOps, SRE, DevSecOps, Cloud, and Platform Engineering…
List of SonarQube sonar-scanner.properties options with explaination
Here are some common SonarQube sonar-scanner.properties options and their explanations: Rajesh KumarI’m Rajesh Kumar, a DevOps, SRE, DevSecOps, Cloud, and Platform Engineering expert passionate about sharing practical…
List of SonarQube sonar-project.properties options with explaination
Here are some common SonarQube sonar-project.properties options and their explanations: Rajesh KumarI’m Rajesh Kumar, a DevOps, SRE, DevSecOps, Cloud, and Platform Engineering expert passionate about sharing practical…
SonarQube Assignment
Write a 1 post for each questions below at www.Debug.School and submit a answer post url in the comment below Rajesh KumarI’m Rajesh Kumar, a DevOps, SRE,…
Jenkins Pipeline with Sonarqube quality gate status check fail in Jenkins
Rajesh KumarI’m Rajesh Kumar, a DevOps, SRE, DevSecOps, Cloud, and Platform Engineering expert passionate about sharing practical knowledge, real-world experiences, and industry best practices. I have worked…
How to execute sonarqube scanner using jenkins pipeline?
SonarScanner: Command line SonarScanner for Gradle: SonarScanner for Maven: SonarScanner for .NET: The tool name “SonarQube Scanner 2.8” needs to match the “Name” field of a SonarQube…
Gitlab Tutorials: CI for automation and .Net Framework Sonarqube Codecoverage
Rajesh KumarI’m Rajesh Kumar, a DevOps, SRE, DevSecOps, Cloud, and Platform Engineering expert passionate about sharing practical knowledge, real-world experiences, and industry best practices. I have worked…
Sonarqube Tutorials: Fundamental Demo
Rajesh KumarI’m Rajesh Kumar, a DevOps, SRE, DevSecOps, Cloud, and Platform Engineering expert passionate about sharing practical knowledge, real-world experiences, and industry best practices. I have worked…
How to Analyze Powershell code using Sonarqube?
SonarQube do not support Powershell language at present to analyze a Powershell code. There is no SonarQube PowerShell Plugin available as of now. Please refer – https://www.sonarqube.org/features/multi-languages/…
How to Migrate Sonarqube from H2 to Postgresql?
Step 1 – Run Postgresql using docker command Step 2 – Modify sonar.properties Step 3 – Do this Step 4 – Do this Step 5 – Start…
What is Sonarlint and How it works? An Overview and Its Use Cases
History & Origin of Sonarlint More than your average linting tool Your current linting tools may come with overhead – specialized tools for languages or longer setup…
What is SonarQube and How it works? An Overview and Its Use Cases
History & Origin of SonarQube? Simon Brandhof starts developing the Sonar platform by integrating best-of-breed open source tools for Java. The two of them are joined in…
Top 50 interview and answers for SonarLint
The Sonar is an open source platform used by developers to manage source code quality and consistency. It covers a wide area of code excellence checkpoints ranging…
SonarQube: frequently asked questions
What is the difference between SonarQube and SonarLint?
SonarQube is a server that analyzes whole projects, usually from CI, and stores results and quality gate status centrally. SonarLint is an IDE plugin that flags issues as you write code, and in connected mode it can use the same rules as your SonarQube server.
What is a SonarQube quality gate?
A quality gate is a set of conditions on metrics, such as coverage on new code or no new critical issues. The analysis either passes or fails the gate, and a CI pipeline can check that status and stop the build when it fails.
Which properties file should I edit: sonar-project.properties, sonar-scanner.properties or sonar.properties?
sonar-project.properties sits in your project root and defines that project's analysis settings, such as sonar.projectKey and sonar.sources. sonar-scanner.properties holds global defaults for the scanner installation. sonar.properties configures the SonarQube server itself, including the database connection.
Why won't SonarQube start on Linux?
Common causes include an unsupported Java version, running it as root, Elasticsearch limits such as vm.max_map_count or open file limits being too low, and using a wrapper binary built for the wrong OS or CPU architecture. Check the files in the logs directory for the exact error.
