Summary
Tell TeamCity to import data of a given type.
- Namespace
- Cake
.Common .Build .TeamCity - Containing Type
- ITeamCityProvider
Syntax
void ImportData(string type, FilePath path)
Examples
if (BuildSystem.TeamCity.IsRunningOnTeamCity)
{
BuildSystem.TeamCity.ImportData("junit", "./test-results.xml");
}
if (TeamCity.IsRunningOnTeamCity)
{
TeamCity.ImportData("junit", "./test-results.xml");
}
Parameters
| Name | Type | Description |
|---|---|---|
| type | string | Date type. |
| path | FilePath | Data file path. |
Return Value
| Type | Description |
|---|---|
| void |
