-
Bug
-
Resolution: Unresolved
-
Trivial
-
None
-
Jenkins 2.138.3
I see an incorrect display of task execution time.
For example,
This run spent:
- 11 min waiting;
- 13 min build duration;
- 13 min total from scheduled to completion.
In fact, the build was executed in just 2 minutes, but i see 13 minutes (waiting + exec time).
JSON contains correct timings:
"buildableTimeMillis":702663,"buildingDurationMillis":832158,"executingTimeMillis":129299.
I am working on reproducing this error.
Can you clarify which two reports of build time disagree?
Which display of task execution time are you speaking of? (The pipeline dashboard? For example, I browse to my Jenkins server running on an aws instance at http://54.198.76.254:8080/ , and then click on my project, to take me to the pipeline dashboard. I named my project 'foo'. So the final address in my browser is http://54.198.76.254:8080/job/foo/. This page gives me times for all the different stages of my Jenkins pipeline)
And the second source for build time (the JSON source), are you finding this at $BUILD_URL/api/json? For example, when I go to http://54.198.76.254:8080/job/foo/1/api/json?pretty=true I can see a "duration" entry with a value of 17994.