Summary
Responsible for communicating with TeamCity.
- Namespace
- Cake
.Common .Build .TeamCity - Interfaces
- Base Types
-
- object
graph BT
Type-->Base0["object"]
Type-.->Interface0["ITeamCityProvider"]
click Interface0 "/api/Cake.Common.Build.TeamCity/ITeamCityProvider"
Type["TeamCityProvider"]
class Type type-node
Syntax
public sealed class TeamCityProvider : ITeamCityProvider
Constructors
Name | Summary |
---|---|
TeamCityProvider |
Initializes a new instance of the TeamCityProvider class.
|
Properties
Name | Value | Summary |
---|---|---|
Environment | Team |
Gets the TeamCity environment.
|
IsRunningOnTeamCity | bool |
Gets a value indicating whether the current build is running on TeamCity.
|
Methods
Name | Value | Summary |
---|---|---|
BuildProblem |
void |
Report a build problem to TeamCity.
|
ImportData |
void |
Tell TeamCity to import data of a given type.
|
Import |
void |
Tell TeamCity to import coverage from dotCover snapshot file.
|
PublishArtifacts |
void |
Tells TeamCity to publish artifacts in the given directory.
|
SetBuildNumber |
void |
Tells TeamCity to change the current build number.
|
SetParameter |
void |
Tells TeamCity to set a named parameter with a given value.
|
Write |
void |
Write a status message to the TeamCity build log. - append message to build status.
|
WriteEndBlock |
void |
Write the end of a message block to the TeamCity build log.
|
WriteEndBuildBlock |
void |
Write the end of a build block to the TeamCity build log.
|
WriteEndProgress |
void |
Write a progressFinish message to the TeamCity build log.
|
Write |
void |
Write a status message to the TeamCity build log. - Prepend message to build status.
|
WriteProgressMessage |
void |
Write a progress message to the TeamCity build log.
|
Write |
void |
Write a status message to the TeamCity build log. - replace existing build status.
|
WriteStartBlock |
void |
Write the start of a message block to the TeamCity build log.
|
WriteStartBuildBlock |
void |
Write the start of a build block to the TeamCity build log.
|
WriteStartProgress |
void |
Write a progressStart message to the TeamCity build log.
|
WriteStatistic |
void |
Write a statistic message to the TeamCity build log.
|
WriteStatus |
void |
Write a message to the TeamCity build log. - Messages not added to the build status.
|
Extension Methods
Name | Value | Summary |
---|---|---|
Block |
IDisposable |
Writes the start of a TeamCity message block, then returns a disposable that writes the report block end on dispose.
|
BuildBlock |
IDisposable |
Writes the start of a TeamCity build block, then returns a disposable that writes the build block end on dispose.
|
Dump |
string |
Get a basic string representation of specified object.
From LoggingExtensions
Requires the Cake.Incubator addin
|
IsIn |
bool |
Checks if the source is contained in a list
From EnumerableExtensions
Requires the Cake.Incubator addin
|
NotNull |
void |
Throws an exception if the specified parameter's value is null.
From Extensions
Requires the Cake.Ftp addin
|
NotNull |
void |
From IssuesArgumentChecks
Requires the Cake.Issues addin
|
ThrowIfNull |
T |
Throws a
System.ArgumentNullException with a specific message if the value is null, otherwise returns the value
From AssertExtensions
Requires the Cake.Incubator addin
|
ThrowIfNull |
T |
Throws a
System.ArgumentNullException if the value is null, otherwise returns the value
From AssertExtensions
Requires the Cake.Incubator addin
|
ToDictionary |
IDictionary |
From ObjectHelpers
Requires the Cake.DeployParams addin
|
To |
string |
From StringExtensions
Requires the Cake.Issues addin
|