You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

The build durations object $Duration provides access to a set of time periods associated with a build.

NameDescriptionTypeUsage Example
RunningThe period of time that the build has been running on an agent, calculated by totalling the differences between the each stage start time and finished time.TimeSpan$Build.Duration.Running$ 953 milliseconds
OnQueueThe period of time that the build has been in a Queuing status type. TimeSpan$Build.Duration.OnQueue$ 986 milliseconds
SinceFirstStageStartThe period of time since the first stage of the current build started running on an agent, until the time build finished or the current time TimeSpan$Build.Duration.SinceFirstStageStart$968 milliseconds
TotalThe total period of time since the build was created, until the time build finished or the current time TimeSpan$Build.Duration.Total$1 second
  • No labels