Question about PR analysis without full build (SonarQube Community Edition)

Hello SonarSource Support,

We are using SonarQube Community Edition integrated with Bitbucket (Stash). Our Jenkins pipeline triggers a SonarQube analysis whenever a pull request is created.

At the moment, the pipeline performs a full product build before running the analysis, which introduces significant delays in our CI/CD process.

Could you please clarify:

  1. Is it possible to run a pull-request analysis without performing a full build?

  2. Can Jenkins be configured to analyze only the PR changes (incremental scope) instead of building the entire product?

  3. Is this supported in Community Edition, or is a higher edition required?

For context (if helpful):

  • SonarQube version: Community Edition Version 8.9.10 and Community Build v25.7.0.110598

Thank you in advance for your guidance.

Best regards,

Hey there.

For SonarQube Server, PR analysis supported in Developer Edition and above.

1 Like

Hi,

Welcome to the community!

I’ll broaden this question to

is it possible to run any analysis without performing a full build?

And say “it depends”. For Java, C#, C, C++ and Objective-C you’re going to have to do a build. The reasons vary slightly between languages, but it’s easiest to just say yes, you have to build.

As Colin mentioned, Community Build doesn’t support PR analysis, so I assume you’re analyzing the underlying branch as a new project each time. Once you upgrade to a paid edition, you’ll still need to do a full build (depending on language) but your PR analyses will be incremental.

 
HTH,
Ann

1 Like

Thank you for your return