CircleCI

A quick link to the SonarQube Cloud Orb which can be used with any linux based docker image that includes the command line tools ‘curl’ and ‘unzip’.

Once your project is created and initiated from the repository you selected, follow our official Orb Quick Start Guidearrow-up-right to set up your project using Maven, Gradle, and other build technologies. Check also our Orb’s readmearrow-up-right.

Limitations

  • Make (for C/C++ projects) and MSBuild are not yet supported.

  • The Orb is currently available only for Linux and x64 architecture.

Using the US region

To use the US region, you must set the sonar.region property to us. Whether you use our Orb or the SonarScanner CLI directly in your CircleCI, we recommend that you add the SONAR_REGION environment variable to your CircleCI contextarrow-up-right.

Troubleshooting

Analysis time is unexpectedly slow

If analysis is unexpectedly slow or appears stuck when running on CircleCI, check whether your pipelines use blobless or otherwise partial Git checkouts. Configuring a full checkout by changing any occurences of the checkout step in the CircleCI config might help restore normal performance:

- checkout:
    method: full

Last updated

Was this helpful?