Versions Compared

Key

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

...

Our usage of Code Insights requires that you configure a webhook in SonarQube. The app is able to create such a configuration automatically, but if you need a manual webhook due to your authentication requirements, or if you experience any issues like missing pull request annotations, please follow our SonarQube webhook configuration guide.

Removal of custom merge checks

Before 4.0, the app supported custom merge checks. We decided to remove them because for most use cases, one can now use the built-in quality gates SonarQube provides or the built-in Bitbucket merge checks instead.

The following table will show which Quality Gates of SonarQube match the behavior or are very similar to the custom merge checks provided by the app so that you can switch:

Custom merge check

SonarQube built-in merge check

Technical debt max increase in %

Added technical debt on new code

Sonar issues max increase

Issues on new code

Duplicate code max increase in %

Duplicated Lines (%) on new code

Coverage min. threshold in %

Coverage on new code

The following table will show which merge checks of Bitbucket match the behavior or are very similar to the custom merge checks provided by the app so that you can switch:

Custom merge check

Bitbucket built-in merge check

Prevent failed or in-progress builds

Minimum successful builds (Repository Settings → Merge Checks)

REST API changes

As part of the feature cleanup with app version 4.x, the following fields from the app’s repository settings have been removed, and are thus also not available anymore in the repository settings REST API, so you can remove them as well from your automation scripts:

...

If you experience any problems during the app upgrade, check our Troubleshooting guide, and in case of permanent issues, let us know by creating a support ticket.

...