Build progress info: how is it calculated
Using Jazz/RTC 1.0beta2a
When a build is running, RTC reports percent complete info and estimated time to complete. The info I'm seeing doesn't seem quite right and I'm wondering how the percent number and estimated completion time are derived ? Thanks |
2 answers
David Ward wrote:
Using Jazz/RTC 1.0beta2a The estimated completion time is computed using the historical average duration of that build. So this number can be thrown off if you have several recent builds that completed early (e.g. due to failed builds). The percent completion number is not computed based on build duration. Instead, it is based on the activity count of the build. In beta2 this activity count is incremented each time the activity label for the build is updated using the "currentActivityLabel" attribute of a Build ant task. In M5, the "currentActivityLabel" attribute is removed and the activity count is instead incremented each time the startBuildActivity task is used. An average activity count is associated with each build definition. The percent completion number is intended to supplement the estimated completion time and to give you an idea of how much work has actually been done in the build. -- Jason Bird Jazz Team Build |
Thanks
I'll keep an eye out for M5 Jason Bird wrote: David Ward wrote: |
Your answer
Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.