Versions Compared

Key

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

...

For more information, follow the advice on https://confluence.atlassian.com/kb/unable-to-connect-to-ssl-services-due-to-pkix-path-building-failed-779355358.html

9. Warning: No active SonarQube™ projects

If you get the warning No active SonarQube projects in your pull requests, then this is most likely due to the fact that none of the configured SonarQube™ projects in your repository settings match the file paths in the diff of the pull request.

To fix this:

  1. Go to Repository settingsSonar

  2. Check your configured projects under SonarQube Projects: the files in your pull request have to start with one of the configured module directory paths of your projects. E.g. if your pull request touches files under src/main/java/com/mycompany/ui, make sure you have a SonarQube™ project with module directory src/main/java that maps to the SonarQube™ project for that analysis directory.
    The app shows the statistics of any SonarQube™ project that has a matching module directory . Note that an empty module directory always matches any path, so if you have a single SonarQube™ project, just use an empty empty module directory .

  3. Add a SonarQube™ project or fix the existing ones.

  4. Go back to your pull request, and you should not get this warning anymore, but instead see the SonarQube™ statistics for the configured project(s).

Info

For more information on how to configure SonarQube™ projects, visit our getting started guide:

  1. How to setup Include Code Quality for Bitbucket