Fred G commented on New Feature JENKINS-20361

I'm actually calling

Util.getTimeSpanString(job.getLastBuild().getEstimatedDuration());
which calls
hudson.model.Job.getEstimatedDurationCandidates()
down the line.


The JavaDoc of getEstimatedDurationCandidates() says:

/**
  * Returns candidate build for calculating the estimated duration of the current run.
  * 
  * Returns the 3 last successful (stable or unstable) builds, if there are any.
  * Failing to find 3 of those, it will return up to 3 last unsuccessful builds.
  * 
  * In any case it will not go more than 6 builds into the past to avoid costly build loading.
  */
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira

--
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to