Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-32651

Incorrectly calculed reporting period can lead to an empty report

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Critical Critical
    • build-metrics-plugin
    • None
    • build-metrics-plugin 1.0

      Currently, calculating the begin date of the reporting period is done using Calendar.roll() which is wrong. As roll() only changes a specific unit and doesn't update larger fields in the calendar object, rolling back 2 week on the first week of a month sets the calendar week to the last week of the month, which is in the future. As the begin date is in the future, the computed is empty.

            ydubreuil Yoann Dubreuil
            ydubreuil Yoann Dubreuil
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: