Summary
Gets the Travis CI home directory.
- Namespace
- Cake
.Common .Build .TravisCI .Data - Containing Type
- Travis
C I Environment Info
Syntax
public string Home { get; }
Examples
if (BuildSystem.TravisCI.IsRunningOnTravisCI)
{
Information(
@"Home: {0}",
BuildSystem.TravisCI.Environment.Home
);
}
else
{
Information("Not running on TravisCI");
}
if (TravisCI.IsRunningOnTravisCI)
{
Information(
@"Home: {0}",
TravisCI.Environment.Home
);
}
else
{
Information("Not running on TravisCI");
}
Value
Type | Description |
---|---|
string | The home. |