Summary
Write the end of a message block to the TeamCity build log.
- Namespace
- Cake
.Common .Build .TeamCity - Containing Type
- ITeamCityProvider
Syntax
void WriteEndBlock(string blockName)
Examples
if (BuildSystem.TeamCity.IsRunningOnTeamCity)
{
BuildSystem.TeamCity.WriteEndBlock("Restore");
}
if (TeamCity.IsRunningOnTeamCity)
{
TeamCity.WriteEndBlock("Restore");
}
Parameters
| Name | Type | Description |
|---|---|---|
| blockName | string | Block name. |
Return Value
| Type | Description |
|---|---|
| void |
