BitbucketPipelinesPullRequestInfo Class

Summary

Provides BitbucketPipelines pull request information for a current build.
graph BT Type-->Base0["BitbucketPipelinesInfo"] click Base0 "/api/Cake.Common.Build.BitbucketPipelines/BitbucketPipelinesInfo" Base0-->Base1["object"] Type["BitbucketPipelinesPullRequestInfo"] class Type type-node

Syntax

public sealed class BitbucketPipelinesPullRequestInfo : BitbucketPipelinesInfo

Constructors

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

Properties

Name Value Summary
Id int
Gets the pull request id.
IsPullRequest bool
Gets a value indicating whether the current build was started by a pull request.

Methods

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

Extension Methods

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