1

I want to clear Sonarqube project current code analysis and make the project blank. Is it possible? I know we can clear all the previous analysis, but I want to clear the current analysis of Sonarqube project.

1

If you mean removing a "snapshot" of an analysis according to the most recent SonarQube documentation you should be able to this. Also if you have access to the database SonarQube is using then you could remove the analysis directly from there. That option may introduce other issues though depending on how SonarQube handles it.

| improve this answer | |
  • I have gone through the latest document link which you attached in a comment. But there also they mentioned Note that the most recent snapshot (labeled " last snapshot") can never be deleted, but as per my requirenment I want to make my project blank so How can I do that? – ankit thakkar Oct 21 '19 at 4:26
  • It's not supported, but if you have access to the database you can remove the project data from there. Beware though, this is unsupported and may break SonarQube depending on how you remove the data. – Wesley Rolnick Oct 21 '19 at 13:31
  • I have one more issue. Sonarqube is showing old bugs in new bugs. why? – ankit thakkar Oct 24 '19 at 13:06
  • Do you have any link from where I can find steps to delete Sonarqube analysis? – ankit thakkar Nov 8 '19 at 10:46

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.