Class DevopsBuildVariables
- Namespace
- Invex.StructuredText.AzureDevopsPipelines
- Assembly
- Invex.StructuredText.AzureDevopsPipelines.dll
Build.* predefined variables.
public sealed class DevopsBuildVariables
- Inheritance
-
objectDevopsBuildVariables
Properties
ArtifactStagingDirectory
Build.ArtifactStagingDirectory: a local folder for artifacts before publishing.
public StringExpr ArtifactStagingDirectory { get; }
Property Value
BuildId
Build.BuildId: the ID of the run.
public StringExpr BuildId { get; }
Property Value
BuildNumber
Build.BuildNumber: the name of the run.
public StringExpr BuildNumber { get; }
Property Value
Reason
Build.Reason: what started the run, e.g. IndividualCI or PullRequest.
public StringExpr Reason { get; }
Property Value
RepositoryName
Build.Repository.Name: the repository name.
public StringExpr RepositoryName { get; }
Property Value
SourceBranch
Build.SourceBranch: the full branch or tag ref, e.g. refs/heads/main.
public StringExpr SourceBranch { get; }
Property Value
SourceBranchName
Build.SourceBranchName: the last segment of the branch or tag ref.
public StringExpr SourceBranchName { get; }
Property Value
SourceVersion
Build.SourceVersion: the commit being built.
public StringExpr SourceVersion { get; }
Property Value
SourcesDirectory
Build.SourcesDirectory: where the source code is checked out.
public StringExpr SourcesDirectory { get; }