TeamCity.Environment Type
Exported environment variables during build. See the official documentation for details.
Static members
Static member | Description |
Full Usage:
Environment.Branch
Returns: string option
|
|
Full Usage:
Environment.BranchDisplayName
Returns: string option
|
Get the display name of the branch of the main VCS root as shown in TeamCity See the documentation for more information
|
Full Usage:
Environment.BuildConfigurationName
Returns: string option
|
|
Full Usage:
Environment.BuildIsPersonal
Returns: bool
|
|
Full Usage:
Environment.BuildNumber
Returns: string option
|
The Build number assigned to the build by TeamCity using the build number format or None if it's not on TeamCity.
|
|
Changed files (since previous build) that are included in this build See the documentation for more information
|
Full Usage:
Environment.CheckoutDirectory
Returns: string option
|
|
Full Usage:
Environment.IsDefaultBranch
Returns: bool
|
|
Full Usage:
Environment.ProjectName
Returns: string option
|
|
Full Usage:
Environment.RecentlyFailedTests
Returns: string list option
|
|
Full Usage:
Environment.Version
Returns: string option
|
The Version of the TeamCity server. This property can be used to determine the build is run within TeamCity.
|