tophat / jenkins-timeline-plugin

A build timeline to facilitate the inspection of Jenkins pipelines and identify bottlenecks.
https://jenkinstimeline.com
Apache License 2.0
34 stars 11 forks source link

Misreports build time for long-builds #105

Open jbennett2091 opened 3 years ago

jbennett2091 commented 3 years ago

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:

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):

Additional context Add any other context about the problem here.

clemente0731 commented 3 years ago

reconsider!!!!!!!!!!

jbennett2091 commented 3 years ago

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