Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,361,824
Community Members
 
Community Events
168
Community Groups

How to clean Sonar project for branches ?

Hello,

We are now using this very useful SonarQube plugin for bitbucket and for Bamboo for two months.
It helps a lot to improve our code quality.
As a result we saw the number of project analyzed on Sonar rised from 20 to more than 600.
It appears that the "branches-project" on SonarQube are not deleted, is there a way or an option we missed to have theses projects deleted once the branch is not used anymore ?

Thank you.

1 answer

Hi,

Please excuse my very late response.

While Sonar for Bamboo will not delete Sonar projects, if you use this app together with Sonar for Bitbucket Server, you can configure the latter to immediately delete Sonar projects for Git branches whenever they are deleted (e.g., though a pull request merge with branch deletion).

Does that help you?

Best regards,
Michael (app vendor)

Hi,

I have a trial version of sonar app in bitbucket integrated with enterprise version of sonarQube server.

After making sonar cleanup enabled in bitbucket,I deleted branch once the pull request has been merged.

But still I can see  that particular branch analisis report on sonarQube server which is unexpected.

Is it just because I am using trial version or am I doing something wrong.Please advice.Thanks.

Thanks for your feedback. Could you please create a support ticket at https://support.mibexsoftware.com for this? That would help us a lot in exchanging debug logs etc.

Best regards,
Michael

Hi All,

 

I am facing the same issue, can someone please help?

Like tudor_iftimie likes this

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Apps & Integrations

Apps for Confluence you won't want to miss: RSVP for September's Appy Hours

Calling all collaborators and Confluence users! Our Appy Hours event on September 29th features 4 presenters demoing functionality to superpower Confluence. Don't miss learning about these apps i...

125 views 0 9
Read article

Atlassian Community Events