ContinuaCIChangesetInfo Class

Summary

Provides Continua CI changeset information for a current build.
graph BT Type-->Base0["ContinuaCIInfo"] click Base0 "/api/Cake.Common.Build.ContinuaCI/ContinuaCIInfo" Base0-->Base1["object"] Type["ContinuaCIChangesetInfo"] class Type type-node

Syntax

public sealed class ContinuaCIChangesetInfo : ContinuaCIInfo

Constructors

Name Summary
ContinuaCIChangesetInfo(ICakeEnvironment, string) Initializes a new instance of the ContinuaCIChangesetInfo class.

Properties

Name Value Summary
Branch string
Gets the changeset branch name.
Created DateTime?
Gets the changeset created date and time.
FileCount int
Gets the count of the number of files in the changeset.
IssueCount int
Gets the count of the number of tags associated with the changeset.
IssueNames IEnumerable<string>
Gets list of changeset issue names.
Revision string
Gets the revision used to build this release. Format depends on the VCS used.
TagCount int
Gets the count of the number of tags associated with the changeset.
TagNames IEnumerable<string>
Gets list of changeset tag names.
UserName string
Gets the changeset author user/committer name.

Methods

Name Value Summary
GetEnvironmentBoolean(string) bool
Gets an environment variable as a bool.
Inherited from ContinuaCIInfo
GetEnvironmentDateTime(string) DateTime?
Gets an environment variable as a DateTime.
Inherited from ContinuaCIInfo
GetEnvironmentInteger(string) int
Gets an environment variable as a int.
Inherited from ContinuaCIInfo
GetEnvironmentLong(string) long
Gets an environment variable as a long.
Inherited from ContinuaCIInfo
GetEnvironmentString(string) string
Gets an environment variable as a string.
Inherited from ContinuaCIInfo
GetEnvironmentStringDictionary(string) IDictionary<string, string>
Gets matching list of environment variables as an dictionary of string.
Inherited from ContinuaCIInfo
GetEnvironmentStringList(string) IEnumerable<string>
Gets an environment variable as an array of string.
Inherited from ContinuaCIInfo
GetEnvironmentTimeSpan(string) TimeSpan?
Gets an environment variable as a TimeSpan.
Inherited from ContinuaCIInfo

Extension Methods

Name Value Summary
Dump<ContinuaCIChangesetInfo>() string
Get a basic string representation of specified object.
Requires the Cake.Incubator addin
IsIn<ContinuaCIChangesetInfo>(ContinuaCIChangesetInfo[]) bool
Checks if the source is contained in a list
Requires the Cake.Incubator addin
NotNull<ContinuaCIChangesetInfo>(string) void
Throws an exception if the specified parameter's value is null.
Requires the Cake.Ftp addin
NotNull<ContinuaCIChangesetInfo>(string) void
Requires the Cake.Issues addin
ThrowIfNull<ContinuaCIChangesetInfo>(string, string) T
Throws a System.ArgumentNullException with a specific message if the value is null, otherwise returns the value
Requires the Cake.Incubator addin
ThrowIfNull<ContinuaCIChangesetInfo>(string) T
Throws a System.ArgumentNullException if the value is null, otherwise returns the value
Requires the Cake.Incubator addin
ToDictionary() IDictionary<string, object>
Requires the Cake.DeployParams addin
ToStringWithNullMarkup() string
Requires the Cake.Issues addin