Summary
Writes the start of a TeamCity build block, then returns a disposable that writes the build block end on dispose.
- Namespace
- Cake
.Common .Build .TeamCity - Containing Type
- Team
City Disposable Extensions
Syntax
public static IDisposable BuildBlock(this ITeamCityProvider teamCityProvider, string compilerName)
Parameters
| Name | Type | Description |
|---|---|---|
| teamCityProvider | ITeamCityProvider | TeamCity provider. |
| compilerName | string | The name of the build block. |
Return Value
| Type | Description |
|---|---|
| IDisposable | A disposable that writes the build block end. |
