-
New Feature
-
Resolution: Unresolved
-
Minor
-
None
-
Jenkins 2.303.2
extra-columns plugin 1.24
Jenkins core supplies a column "Last Duration" for "List view".
Unfortunately, this actually shows the duration of the last successful build, without a clear indication of this.
There is a report of this for the Jenkins core:
https://issues.jenkins.io/browse/JENKINS-9145
According to the comments there, it doesn't look, like this will be changed.
Another way to solve the problem, would be a column via extra-columns-plugin, supplying this type. (I just don't have a good name for the column right away "real last completed duration" ???
For clarification, the "Last Duration" column shows the duration of the last successful build, unless there is no successful build. Then it shows the duration of the last failed build.
See https://github.com/jenkinsci/jenkins/blob/master/core/src/main/resources/hudson/views/LastDurationColumn/column.jelly#L27
I understand that it is still confusing and not immediately clear by the name of the column.
I would recommend to modify the existing BuildDuration column in the extra-columns plugin to show the duration of the last build.
I don't have time to actively work on this feature request, but I'd be happy to review a PR.