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

Build time trend timeline view shows each build 25 times

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Incomplete
    • Icon: Minor Minor
    • core
    • None

      In the buildTimeTrend timeline view of Jenkins 1.502, every build shows up not once, but 25 times. The root cause seems to be a javascript for loop in the page that does 25 ajax requests for different one-hour time ranges with min and max POST parameters that the end point, /job/PROJECT/timeline/data/, doesn't filter by – each request returns the same builds, and the code receiving the payload does not de-dupe already painted builds. Getting rid of the whole for loop (or fixing the end point to actually filter by min / max time) should fix the issue.

            martin_naughton martin naughton
            ecmanaut Johan Sundström
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: