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

Builds longer than an hour don't display duration in header correctly #89

Closed Arkadionos closed 3 years ago

Arkadionos commented 4 years ago

Describe the bug If a build takes longer than an hour to build, only the number of minutes and seconds are displayed in the duration shown, but not the number of hours. This causes some misleading duration strings in the dashboard header

To Reproduce Run a build that takes over an hour to complete, view dashboard header.

Expected behavior Full duration should be listed in the dashboard header.

Screenshots duration

mcataford commented 4 years ago

Hi @Arkadionos! Thank you for reporting this issue! Is this something you would like to take on?

Arkadionos commented 4 years ago

Hello @mcataford! I'm afraid I haven't had the opportunity to look into fixing this myself, I just came across it while working with the plugin and wanted to make a note of it somewhere in case someone else has time to.

mcataford commented 3 years ago

Looks like this should have been addressed by #97 ! Going to close this issue since it looks like it aligns and ties that loose end. :rocket: Don't hesitate to reopen it if the issue persists!

The new containing the fix will be released on the Jenkins repository within a day or so, until then you can try it out by building from source!