tophat/jenkins-timeline-plugin

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

Arkadionos opened this issue · 3 comments

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

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

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.

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. 🚀 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!