TeamCityDisposableExtensions.

BuildBlock(ITeamCityProvider, string) Method

Summary

Writes the start of a TeamCity build block, then returns a disposable that writes the build block end on dispose.

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.