It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Sonar for BitBucket Not Showing Issues

karl francis Sep 22, 2017

I'm using

  • bitbucket v4.3.2
  • bamboo 5.15.3 and 
  • SonarQube 6.5 (build 27846) 
  • Sonar for Bitbucket 1.12.0-bbs4
  • Sonar for Bamboo 1.6.1

 

When I create a new pull request the stats show no issues in bit bucket.  However when I look at the project on the sonar server it shows one new bug and two new code smells.  In bitbucket Sonar is configured to show all issues, Min. severity to show is set to MINOR, and analysis mode is set to Branch-based.  Both branches involved in the pull request have project on the sonar server. 

 

Any ideas on what could be causing this issue?

1 answer

Hi,

This is probably because the plug-in was not able to deduce the right component keys for the files in the pull request to get information from the Sonar server.

To analyze why this happens, I need the debug logs of the plug-in.

1) Could you therefore please enable debug logging for the plug-in? You can do this under Bitbucket admin -> Sonar -> "Enable debug logging".

2) Then, please clear the cache in the repository settings of the plug-in by selecting the "Advanced" tab and clicking on the "Invalidate cache" button.

3) Finally, please open the pull request where the problem occurs again. If you could then send me all lines containing "SONAR:" from your BITBUCKET_HOME/log/atlassian-bitbucket.log file (to our support e-mail address), that would help me much!

Best regards,
Michael from Mibex Software

Suggest an answer

Log in or Sign up to answer
This widget could not be displayed.
This widget could not be displayed.
Community showcase
Published in Marketplace Apps & Integrations

Join our webinar: “Asset Management: The Role of Context in ITSM” with Atlassian & Riada

  Hi Atlassian Community! This is Teresa from the Jira Service Desk team. On June 19th, I’ll be hosting a webinar “Asset Management: The Role of Context in ITSM” with Atlassian Partne...

112 views 0 2
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you