BitriseRepositoryInfo Class

Summary

Provides Bitrise repository information for the current build.
Namespace
Cake.Common.Build.Bitrise.Data
Base Types
graph BT Type-->Base0["BitriseInfo"] click Base0 "/api/Cake.Common.Build.Bitrise/BitriseInfo" Base0-->Base1["object"] Type["BitriseRepositoryInfo"] class Type type-node

Syntax

public class BitriseRepositoryInfo : BitriseInfo

Constructors

Name Summary
BitriseRepositoryInfo(ICakeEnvironment) Initializes a new instance of the BitriseRepositoryInfo class.

Properties

Name Value Summary
GitBranch string
Gets the Git branch.
GitCommit string
Gets the Git commit.
GitRepositoryUrl string
Gets the Git repository URL.
GitTag string
Gets the Git tag.
PullRequest string
Gets the pull request.

Methods

Name Value Summary
GetEnvironmentBoolean(string) bool
Gets an environment variable as a bool.
Inherited from BitriseInfo
GetEnvironmentInteger(string) int
Gets an environment variable as a int.
Inherited from BitriseInfo
GetEnvironmentString(string) string
Gets an environment variable as a string.
Inherited from BitriseInfo

Extension Methods

Name Value Summary
Dump<BitriseRepositoryInfo>() string
Get a basic string representation of specified object.
Requires the Cake.Incubator addin
IsIn<BitriseRepositoryInfo>(BitriseRepositoryInfo[]) bool
Checks if the source is contained in a list
Requires the Cake.Incubator addin
NotNull<BitriseRepositoryInfo>(string) void
Throws an exception if the specified parameter's value is null.
Requires the Cake.Ftp addin
NotNull<BitriseRepositoryInfo>(string) void
Requires the Cake.Issues addin
ThrowIfNull<BitriseRepositoryInfo>(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<BitriseRepositoryInfo>(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