Summary
Provides Travis CI build information for the current build.
- Namespace
- Cake
.Common .Build .TravisCI .Data - Base Types
-
- object
- TravisCIInfo
graph BT
Type-->Base0["TravisCIInfo"]
click Base0 "/api/Cake.Common.Build.TravisCI/TravisCIInfo"
Base0-->Base1["object"]
Type["TravisCIBuildInfo"]
class Type type-node
Syntax
public sealed class TravisCIBuildInfo : TravisCIInfo
Constructors
Name | Summary |
---|---|
TravisCIBuildInfo |
Initializes a new instance of the TravisCIBuildInfo class.
|
Properties
Name | Value | Summary |
---|---|---|
Branch | string |
Gets the branch for the current build.
|
BuildDirectory | string |
Gets the build directory for the current build.
|
BuildId | string |
Gets the build identifier for the current build.
|
BuildNumber | int |
Gets the build number for the current build.
|
Tag | string |
Gets the tag name for the current build.
|
TestResult | int |
Gets the test result indicating if the current build is successful or broken.
|
Methods
Name | Value | Summary |
---|---|---|
Get |
bool |
Gets an environment variable as a
bool .
Inherited from TravisCIInfo
|
Get |
int |
Gets an environment variable as a
int .
Inherited from TravisCIInfo
|
GetEnvironmentString |
string |
Gets an environment variable as a
string .
Inherited from TravisCIInfo
|
Extension Methods
Name | Value | Summary |
---|---|---|
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
|