BuildSystem.

TeamCity Property

Summary

Gets the TeamCity Provider.
Namespace
Cake.Common.Build
Containing Type
BuildSystem

Syntax

public ITeamCityProvider TeamCity { get; }

Examples

if (BuildSystem.IsRunningOnTeamCity)
{
    // Set the build number.
    BuildSystem.TeamCity.SetBuildNumber("1.2.3.4");
}

Value

Type Description
ITeamCityProvider