Summary
Gets the build start date and time.
- Namespace
- Cake
.Common .Build .TeamCity .Data - Containing Type
- TeamCityBuildInfo
Syntax
public DateTimeOffset? StartDateTime { get; }
Remarks
The build start date and time are obtained from reading two environment variables
BUILD_START_DATE (yyyyMMdd) and BUILD_START_TIME (HHmmss) are automatically set by JetBrain's
Groovy plug plugin.
Value
Type | Description |
---|---|
DateTimeOffset? |
The build start date and time if available, or .
|