Include Code Quality for Bamboo

Incremental mode for Pull Requests

To speed up the analysis time, the app supports for Pull requests an Incremental mode.

By running SonarQube™ analysis only on the diff of the pull request, instead of the complete project.


Configuration:

  1. As a pull request is required for Incremental mode, use the When pull request is created option to Create plan branch in Bamboo.

    1. Otherwise already a push of a new branch to Bitbucket may trigger a full analysis, as no corresponding pull request exists in this moment.

      image2017-9-13_20-44-54.png
  2. Enable Incremental mode in Bamboo task

    1. Configure for which branches Incremental mode should be used:


image2021-10-11_8-28-23.png






SONAR™, SONARQUBE™ and SONARCLOUD™ are independent and trademarked products and services of SonarSource SA: see sonarsource.com, sonarqube.com and sonarcloud.com.