Table of Contents

Class DevopsBuildVariables

Namespace
Invex.StructuredText.AzureDevopsPipelines
Assembly
Invex.StructuredText.AzureDevopsPipelines.dll

Build.* predefined variables.

public sealed class DevopsBuildVariables
Inheritance
object
DevopsBuildVariables

Properties

ArtifactStagingDirectory

Build.ArtifactStagingDirectory: a local folder for artifacts before publishing.

public StringExpr ArtifactStagingDirectory { get; }

Property Value

StringExpr

BuildId

Build.BuildId: the ID of the run.

public StringExpr BuildId { get; }

Property Value

StringExpr

BuildNumber

Build.BuildNumber: the name of the run.

public StringExpr BuildNumber { get; }

Property Value

StringExpr

Reason

Build.Reason: what started the run, e.g. IndividualCI or PullRequest.

public StringExpr Reason { get; }

Property Value

StringExpr

RepositoryName

Build.Repository.Name: the repository name.

public StringExpr RepositoryName { get; }

Property Value

StringExpr

SourceBranch

Build.SourceBranch: the full branch or tag ref, e.g. refs/heads/main.

public StringExpr SourceBranch { get; }

Property Value

StringExpr

SourceBranchName

Build.SourceBranchName: the last segment of the branch or tag ref.

public StringExpr SourceBranchName { get; }

Property Value

StringExpr

SourceVersion

Build.SourceVersion: the commit being built.

public StringExpr SourceVersion { get; }

Property Value

StringExpr

SourcesDirectory

Build.SourcesDirectory: where the source code is checked out.

public StringExpr SourcesDirectory { get; }

Property Value

StringExpr