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

Make configurable the number of hours before keeping onle one snapshot per day

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.14
    • Fix Version/s: 3.1
    • Component/s: Database, Notifications
    • Labels:
      None

      Description

      Please add a configuration for the number of hours old a snapshot must be before it falls under the "one-snapshot-per-day" rule, and set the default to 24.

      Why: I got a "new violations email" that had been sent at ~1:30 p.m. But by the time I received it and clicked through - around 3 p.m., the analysis had been re-run, so there were 0 new violations - despite the email in my inbox saying there were 3.

      And because the snapshot with the "new" violations had been purged by the time I got there, I couldn't find any trace of those three in the history. So it looked like Sonar was sending random, wrong emails.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              fabemn OLD - Fabrice Bellingard
              Reporter:
              ganncamp OLD - GAC
              Votes:
              4 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: