Table of Contents

Class AzureBuildMetadata

Namespace
DotNetDo
Assembly
DotNetDo.Core.dll

Environment metadata used by AzureBuildMetadata.

public sealed record AzureBuildMetadata : IEquatable<AzureBuildMetadata>

Properties

ArtifactStagingDirectory

Reads BUILD_ARTIFACTSTAGINGDIRECTORY; returns null when it is unset or empty.

public AbsolutePath? ArtifactStagingDirectory { get; }

Property Value

AbsolutePath?

BinariesDirectory

Reads BUILD_BINARIESDIRECTORY; returns null when it is unset or empty.

public AbsolutePath? BinariesDirectory { get; }

Property Value

AbsolutePath?

DefinitionId

Reads SYSTEM_DEFINITIONID; returns null when it is unset or empty.

public long? DefinitionId { get; }

Property Value

long?

DefinitionName

Reads BUILD_DEFINITIONNAME; returns null when it is unset or empty.

public string? DefinitionName { get; }

Property Value

string?

Id

Reads BUILD_BUILDID; returns null when it is unset or empty.

public long? Id { get; }

Property Value

long?

Number

Reads BUILD_BUILDNUMBER; returns null when it is unset or empty.

public string? Number { get; }

Property Value

string?

Reason

Reads BUILD_REASON; returns null when it is unset or empty.

public string? Reason { get; }

Property Value

string?

RepositoryClean

Reads BUILD_REPOSITORY_CLEAN; returns null when it is unset or empty.

public bool? RepositoryClean { get; }

Property Value

bool?

RepositoryGitSubmoduleCheckout

Reads BUILD_REPOSITORY_GIT_SUBMODULECHECKOUT; returns null when it is unset or empty.

public bool? RepositoryGitSubmoduleCheckout { get; }

Property Value

bool?

RepositoryId

Reads BUILD_REPOSITORY_ID; returns null when it is unset or empty.

public string? RepositoryId { get; }

Property Value

string?

RepositoryName

Reads BUILD_REPOSITORY_NAME; returns null when it is unset or empty.

public string? RepositoryName { get; }

Property Value

string?

RepositoryProvider

Reads BUILD_REPOSITORY_PROVIDER; returns null when it is unset or empty.

public string? RepositoryProvider { get; }

Property Value

string?

RepositoryUri

Reads BUILD_REPOSITORY_URI; returns null when it is unset or empty.

public Uri? RepositoryUri { get; }

Property Value

Uri?

RequestedFor

Reads BUILD_REQUESTEDFOR; returns null when it is unset or empty.

public string? RequestedFor { get; }

Property Value

string?

RequestedForEmail

Reads BUILD_REQUESTEDFOREMAIL; returns null when it is unset or empty.

public string? RequestedForEmail { get; }

Property Value

string?

RequestedForId

Reads BUILD_REQUESTEDFORID; returns null when it is unset or empty.

public string? RequestedForId { get; }

Property Value

string?

SourceBranch

Reads BUILD_SOURCEBRANCH; returns null when it is unset or empty.

public string? SourceBranch { get; }

Property Value

string?

SourceBranchName

Reads BUILD_SOURCEBRANCHNAME; returns null when it is unset or empty.

public string? SourceBranchName { get; }

Property Value

string?

SourcesDirectory

Reads BUILD_SOURCESDIRECTORY; returns null when it is unset or empty.

public AbsolutePath? SourcesDirectory { get; }

Property Value

AbsolutePath?

SourceVersion

Reads BUILD_SOURCEVERSION; returns null when it is unset or empty.

public string? SourceVersion { get; }

Property Value

string?

SourceVersionMessage

Reads BUILD_SOURCEVERSIONMESSAGE; returns null when it is unset or empty.

public string? SourceVersionMessage { get; }

Property Value

string?

StagingDirectory

Reads BUILD_STAGINGDIRECTORY; returns null when it is unset or empty.

public AbsolutePath? StagingDirectory { get; }

Property Value

AbsolutePath?

Uri

Reads BUILD_BUILDURI; returns null when it is unset or empty.

public Uri? Uri { get; }

Property Value

Uri?