BitriseBuildInfo Class

Summary

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

Syntax

public class BitriseBuildInfo : BitriseInfo

Constructors

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

Properties

Name Value Summary
BuildNumber string
Gets the build number.
BuildSlug string
Gets the build slug.
BuildStatus bool
Gets a value indicating whether the build is passing.
BuildTriggerTimestamp string
Gets the build trigger timestamp.
BuildUrl string
Gets the build URL.

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