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

Build records get confused by timezone changes

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Duplicate
    • Component/s: core
    • Labels:
      None
    • Environment:
      1.509.2
    • Similar Issues:

      Description

      A continuation of the travails from JENKINS-15816. If the timezone is changed after startup, it can happen that a job has some older builds with the old timezone that appear newer than the actually newest builds. Thus the RunMap gives an inconsistent picture (rm.values().iterator().next() != rm.iterator().next()), the last build may be older than the last successful build, BuildHistoryWidget may omit builds, etc.

      The proper fix is perhaps to start using UTC for build records and switch to a new Run.id format that ends with Z or otherwise distinguishes builds created after the switch from historical builds. The question is what plugin code might be relying on the current format.

        Attachments

          Issue Links

            Activity

            jglick Jesse Glick created issue -
            jglick Jesse Glick made changes -
            Field Original Value New Value
            Link This issue is related to JENKINS-16255 [ JENKINS-16255 ]
            jglick Jesse Glick made changes -
            Link This issue is related to JENKINS-16255 [ JENKINS-16255 ]
            jglick Jesse Glick made changes -
            Link This issue is related to JENKINS-15816 [ JENKINS-15816 ]
            jglick Jesse Glick made changes -
            Link This issue is related to JENKINS-24376 [ JENKINS-24376 ]
            jglick Jesse Glick made changes -
            Link This issue is related to JENKINS-24380 [ JENKINS-24380 ]
            jglick Jesse Glick made changes -
            Remote Link This issue links to "PR 1376 (Web Link)" [ 11811 ]
            mwebber Matthew Webber made changes -
            Link This issue is related to JENKINS-22106 [ JENKINS-22106 ]
            jglick Jesse Glick made changes -
            Resolution Duplicate [ 3 ]
            Status Open [ 1 ] Resolved [ 5 ]
            rtyler R. Tyler Croy made changes -
            Workflow JNJira [ 151499 ] JNJira + In-Review [ 193955 ]

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              jglick Jesse Glick
              Votes:
              2 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: