Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

10
  • Could you provide more information for this system parameter and how to enable it? Is this documented somewhere?
    – CodeFox
    Commented Sep 23, 2020 at 10:34
  • Sorry I don't know of any documentation. If you look at the parameters in a completed build you'll see it as a system property. It is a parameter for every build, but does not exist until runtime.
    – GLaw
    Commented Oct 7, 2020 at 19:05
  • 1
    Thanks for getting back! Today I have double checked the actual agent parameters (with TeamCity 2020.1.4) without any luck. That's why I have asked the folks at JetBrains and they told me, that there is no such predefined parameter called system.buildStartTime at the moment but referred me to feature request TW-4080 as well as to the Groovy plugin and the Formatted Date Parameter plugin (see also my note below).
    – CodeFox
    Commented Oct 15, 2020 at 13:57
  • 1
    So it's been a long time, sorry - I forgot about this thread. On 2021.1 I verified that these fields do not exist. They do exist in 2019.2 system.buildStartDate 2021/03/25:08:48:46 system.buildStartTime 20210325084846
    – GLaw
    Commented Mar 25, 2022 at 19:50
  • 1
    Thank you for the clarification! Interesting that there was such a field in the past. ;-)
    – CodeFox
    Commented Mar 28, 2022 at 10:07