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

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Mar 13, 2019 in Marketplace Apps

Marketplace Spotlight: Marketing apps for Confluence to keep your teams working on the same page

                                                      &nbsp...

247 views 0 6
Read article

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you