Summary
Provides Continua CI build information for a current build.
- Namespace
- Cake
.Common .Build .ContinuaCI .Data - Base Types
-
- object
- ContinuaCIInfo
graph BT
Type-->Base0["ContinuaCIInfo"]
click Base0 "/api/Cake.Common.Build.ContinuaCI/ContinuaCIInfo"
Base0-->Base1["object"]
Type["ContinuaCIBuildInfo"]
class Type type-node
Syntax
public sealed class ContinuaCIBuildInfo : ContinuaCIInfo
Constructors
| Name | Summary |
|---|---|
| ContinuaCIBuildInfo |
Initializes a new instance of the ContinuaCIBuildInfo class.
|
Properties
| Name | Value | Summary |
|---|---|---|
| BuildNumber | int |
Gets the build number.
|
| ChangesetCount | int |
Gets build the number of changesets associated with this build.
|
| ChangesetRevisions | IEnumerable |
Gets list of changeset revisions.
|
| ChangesetTagNames | IEnumerable |
Gets list of changeset tag names.
|
| ChangesetUserNames | IEnumerable |
Gets list of changeset user names.
|
| Elapsed | TimeSpan? |
Gets build elapsed time on queue as a time span.
|
| HasNewChanges | bool |
Gets a value indicating whether the build has new changes.
|
| Id | int |
Gets the build id.
|
| IsFeatureBranchBuild | bool |
Gets a value indicating whether the build uses the feature branch.
|
| IssueCount | int |
Gets build the number of issues associated with this build.
|
| LatestChangeset | Continua |
Gets the latest build changeset.
|
| Repositories | IEnumerable |
Gets list of repository names.
|
| RepositoryBranches | IEnumerable |
Gets list of repository branch names.
|
| Started | DateTime? |
Gets the build start date and time.
|
| StartedBy | string |
Gets the name of the user or trigger starting the build.
|
| TimeOnQueue | long |
Gets build time on queue in ticks.
|
| TriggeringBranch | string |
Gets triggering branch name.
|
| UsesDefaultBranch | bool |
Gets a value indicating whether the build uses the default branch.
|
| Version | string |
Gets the build version.
|
Methods
| Name | Value | Summary |
|---|---|---|
| Get |
bool |
Gets an environment variable as a
bool.
Inherited from ContinuaCIInfo
|
| Get |
DateTime? |
Gets an environment variable as a
DateTime.
Inherited from ContinuaCIInfo
|
| Get |
int |
Gets an environment variable as a
int.
Inherited from ContinuaCIInfo
|
| GetEnvironmentLong |
long |
Gets an environment variable as a
long.
Inherited from ContinuaCIInfo
|
| GetEnvironmentString |
string |
Gets an environment variable as a
string.
Inherited from ContinuaCIInfo
|
| Get |
IDictionary |
Gets matching list of environment variables as an dictionary of
string.
Inherited from ContinuaCIInfo
|
| Get |
IEnumerable |
Gets an environment variable as an array of
string.
Inherited from ContinuaCIInfo
|
| Get |
TimeSpan? |
Gets an environment variable as a
TimeSpan.
Inherited from ContinuaCIInfo
|
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 IssuesArgumentChecks
Requires the Cake.Issues addin
|
| NotNull |
void |
Throws an exception if the specified parameter's value is null.
From Extensions
Requires the Cake.Ftp 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 |
Returns the string value or a
Not set> markup suitable for Spectre.Console.
From StringExtensions
Requires the Cake.Issues addin
|
