Skip to content

[JENKINS-36732] Timestamps in Build History widget (BuildTimelineWidget) is wrong #17344

Closed

Description

@jenkins-infra-bot

Consider a following build: (Added comments)

<?xml version='1.0' encoding='UTF-8'?>
<build>
  <actions>
    <hudson.model.CauseAction>
      <causeBag class="linked-hash-map">
<entry>
  <hudson.model.Cause_-UserIdCause>
    <userId>admin</userId>
  </hudson.model.Cause_-UserIdCause>
  <int>1</int>
</entry>
      </causeBag>
    </hudson.model.CauseAction>
  </actions>
  <queueId>1</queueId>
  <timestamp>1468630800000</timestamp> <!--2016-07-16 10:00:00+0900-->
  <startTime>1468634400000</startTime> <!--2016-07-16 11:00:00+0900-->
  <result>SUCCESS</result>
  <duration>1800000</duration> <!--30minutes, and finished at 2016-07-16 11:30:00+0900-->
  <charset>windows-31j</charset>
  <keepLog>false</keepLog>
  <builtOn></builtOn>
  <workspace>C:\Users\ikedam\.jenkins\workspace\test</workspace>
  <hudsonVersion>2.13</hudsonVersion>
  <scm class="hudson.scm.NullChangeLogParser"/>
  <culprits class="com.google.common.collect.EmptyImmutableSortedSet"/>
</build>

This means:

  • Scheduled at 2016-07-16 10:00:00+0900
  • Started at 2016-07-16 11:00:00+0900
  • Finished at 2016-07-16 11:30:00+0900

for this build, `BuildTimelineWidget` in the build history page displays a build as
"Sta, 16 Jul 2016 10:00:00 - Sat, 16 Jul 2016 10:30:00", which is completely wrong.


Originally reported by ikedam, imported from: Timestamps in Build History widget (BuildTimelineWidget) is wrong
  • assignee: ikedam
  • status: Resolved
  • priority: Minor
  • component(s): core
  • resolution: Fixed
  • resolved: 2016-07-29T10:09:28+00:00
  • votes: 0
  • watchers: 0
  • imported: 2025-11-24
Raw content of original issue

Consider a following build: (Added comments)

<?xml version='1.0' encoding='UTF-8'?>
<build>
  <actions>
    <hudson.model.CauseAction>
      <causeBag class="linked-hash-map">
        <entry>
          <hudson.model.Cause_-UserIdCause>
            <userId>admin</userId>
          </hudson.model.Cause_-UserIdCause>
          <int>1</int>
        </entry>
      </causeBag>
    </hudson.model.CauseAction>
  </actions>
  <queueId>1</queueId>
  <timestamp>1468630800000</timestamp> <!--2016-07-16 10:00:00+0900-->
  <startTime>1468634400000</startTime> <!--2016-07-16 11:00:00+0900-->
  <result>SUCCESS</result>
  <duration>1800000</duration> <!--30minutes, and finished at 2016-07-16 11:30:00+0900-->
  <charset>windows-31j</charset>
  <keepLog>false</keepLog>
  <builtOn></builtOn>
  <workspace>C:\Users\ikedam\.jenkins\workspace\test</workspace>
  <hudsonVersion>2.13</hudsonVersion>
  <scm class="hudson.scm.NullChangeLogParser"/>
  <culprits class="com.google.common.collect.EmptyImmutableSortedSet"/>
</build>

This means:

  • Scheduled at 2016-07-16 10:00:00+0900
  • Started at 2016-07-16 11:00:00+0900
  • Finished at 2016-07-16 11:30:00+0900

for this build, `BuildTimelineWidget` in the build history page displays a build as "Sta, 16 Jul 2016 10:00:00 - Sat, 16 Jul 2016 10:30:00", which is completely wrong.

  • environment: Jenkins 2.17
2 attachments

Activity

  1. jenkins-infra-bot commented on Jul 16, 2016

    @jenkins-infra-bot
    Author
  2. jenkins-infra-bot commented on Jul 29, 2016

    @jenkins-infra-bot
    Author
    danielbeck:
    • Original comment link
    • Raw content of original comment:

      Merged towards 2.16.

    Merged towards 2.16.

  3. removed
    bugFor changelog: Minor bug. Will be listed after features
    on Nov 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions