SonarCloud | Digging deeper | Managing project history

Was this page helpful?

On this page

Start FreeLog in

Managing project history

One of the most powerful features of SonarCloud is that it shows you not just your project health today, but how it has changed over time. It does that by selectively keeping data from previous analyses (see Housekeeping). It doesn't keep all previous analyses - that would bloat the database. Similarly, for the analyses it does keep, SonarCloud doesn't keep all the data. Once a project snapshot moves from the "last analysis", that is, the most recent, to being part of the project's history, data below the project level is purged - again to keep from bloating the database.

Typically, these aren't things you need to even think about; SonarCloud just handles them for you, but occasionally, you may need to remove a bad snapshot from a project's history or change the housekeeping algorithms.

Managing history

Occasionally, you may need to manually delete a project snapshot, whether because the wrong quality profile was used, or because there was a problem with analysis, and so on. Note that the most recent snapshot (labeled "last snapshot") can never be deleted.

Deleting snapshots 

At the project level, from the front page Activity list, choose Show More to see the full activity list.

For every snapshot, it is possible to manually:

  • Add, rename or remove a version
  • Add, rename or remove an event
  • Delete the snapshot

© 2008-2024 SonarSource SA. All rights reserved. SONAR, SONARSOURCE, SONARLINT, SONARQUBE, SONARCLOUD, and CLEAN AS YOU CODE are trademarks of SonarSource SA.

Creative Commons License