Uploaded image for project: 'SonarQube'
  1. SonarQube
  2. SONAR-7309

Add a DB cleaner strategy to keep only analyses having a released version

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 6.7
    • Component/s: Database
    • Labels:

      Description

      Parameter: sonar.dbcleaner.weeksBeforeKeepingOnlyAnalysesWithVersion

      This parameter will allow the DB Cleaner to keep only the analyses where the version is set.

      It's a good opportunity to:

      • replace snapshot by analysis in the descriptions
      • reorder the DB Cleaner settings in the following order:
        • one analysis per day after
        • one analysis per week after
        • one analysis per month after
        • keep only analyses with a version after
        • delete all analyses after
        • delete closed issues after
        • clean history directory

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              teryk.bellahsene Teryk Bellahsene
              Reporter:
              alexandre.gigleux Alexandre Gigleux
              Votes:
              3 Vote for this issue
              Watchers:
              8 Start watching this issue

                Dates

                Due:
                Created:
                Updated:
                Resolved: