Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

We’re thrilled to announce that we’ve released version 2.10.0 on Mar 🎉

Download Sonar for Bamboo on the Atlassian Marketplace

Improvements

Incremental mode only passes as many files for sonar.inclusions as the OS allows, otherwise executes a full build

For the incremental mode, we now only pass as many files from the Bitbucket pull request diff to sonar.inclusions as the OS allows, preventing build errors for very large pull requests.

New option to show quality gates on the build results summary without breaking the build

In earlier releases, it was only possible to show the quality gate status on the build results summary page with the build breaker option enabled, thus enforcing breaking the build if the SonarQube quality gate thresholds are exceeded: : no analysis required for pull request destination branch anymore

If the destination branch has not been analyzed by SonarQube, incremental mode was not executed.

The app does not require an existing analysis of the destination branch anymore, making the incremental mode more flexible.

SonarQube 8.1 and greater:
Uniform handling of short/long-living branches and removal of deprecated SonarQube parameter: -Dsonar.branch.target

Since SonarQube 8.1 stopped making a distinction between short (e.g. feature branches) and long-living branches (e.g. develop). The flag -Dsonar.branch.target got deprecated.

For SonarQube greater than 8.1, the app will not differentiate between branch types and therefore not add the parameter -Dsonar.branch.target anymore.

Translations for missing quality gate alert keys

For the display of quality gates on the build results page, some quality gate alert keys were not internationalized. This has now been fixed.

Changelog

Do you have any questions, suggestions, or problems?

Let us know. We’re glad to help!

2.10.1: Resolved issues on

  • With SonarQube commercial edition < 8.1 and Bamboo < 6.9, a "bamboo user needed" error is thrown when executing the task with incremental mode disabled