BitriseEnvironmentInfo Class

Summary

Provides Bitrise environment 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["BitriseEnvironmentInfo"] class Type type-node

Syntax

public class BitriseEnvironmentInfo : BitriseInfo

Constructors

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

Properties

Name Value Summary
Application BitriseApplicationInfo
Gets Bitrise application information.
Build BitriseBuildInfo
Gets Bitrise build information.
Directory BitriseDirectoryInfo
Gets Bitrise directory information.
Provisioning BitriseProvisioningInfo
Gets Bitrise provisioning information.
PullRequest BitrisePullRequestInfo
Gets Bitrise pull request information.
Repository BitriseRepositoryInfo
Gets Bitrise repository information.
Workflow BitriseWorkflowInfo
Gets Bitrise workflow information.

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