tophat / jenkins-timeline-plugin

A build timeline to facilitate the inspection of Jenkins pipelines and identify bottlenecks.

Home Page:https://jenkinstimeline.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Misreports build time for long-builds

jbennett2091 opened this issue · comments

Describe the bug
The upper right corner shows "Ran for xx minutes, yy seconds". I a build takes more than an hour, it ignores the hours. So, a 15 minute, 75 minute and 135 minute build all report as taking '15 minutes'.

To Reproduce
Steps to reproduce the behavior:

  • create a long build...

Expected behavior
if elapsed time > 1 hour, show the hours, minutes, seconds. I think it's fine for hours to > 24 (i.e. no need for days)

Screenshots
image

Desktop (please complete the following information):

  • OS: Jenkins on Linux
  • Jenkins TL Release, see releases: Jenkins 2.263.1, Pipeline Timeline 1.0.3

Additional context
Add any other context about the problem here.

reconsider!!!!!!!!!!

Apologies, I am no longer working on the same project as I was when this generated. No easy way for me to repeat it.