BambooCustomBuildInfo Class

Summary

Provides Bamboo tag information for a current build.
Namespace
Cake.Common.Build.Bamboo.Data
Base Types
graph BT Type-->Base0["BambooInfo"] click Base0 "/api/Cake.Common.Build.Bamboo/BambooInfo" Base0-->Base1["object"] Type["BambooCustomBuildInfo"] class Type type-node

Syntax

public sealed class BambooCustomBuildInfo : BambooInfo

Constructors

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

Properties

Name Value Summary
IsCustomBuild bool
Gets a value indicating whether build was started by pushed tag.
RevisonName string
Gets the name for builds started by tag; otherwise this variable is undefined.

Methods

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

Extension Methods

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