icon

SonarQube Scanner

Runs SonarQube Scanner CLI

This step provides only a scanner (client) which needs SonarQube server to work. If you haven't access to server check out this tutorial: Getting Started. Local server can be spawned in previous script step. See test of this step for sample step implementation.

Analysis result can be saved to file (specified via sonar.report.export.path property) or send directly by server e.g. to GitHub PullRequest comment.

Scanner properties can be provided via sonar-project.properties file in the workspace root directory or typed in input below. See SonarQube Scanner documentation for more details.

If both file and properties are specified, they will be merged by appending properties to the file.

Similar steps

Step for running SonarQube MSBuild Scanner CLI.

Scans repository for iOS, macOS, Android, Fastlane, Cordova, Ionic, React Native and Flutter projects

Scan source code to extract all HTTP/HTTPS URLs and execute an analysis of those URLs with SSLLabs

Activates Bitrise Remote Build Cache for subsequent Bazel builds in the workflows.