Table of Contents

Class DevOps.VariableNames

Namespace
Invex.Atom.Module.DevOpsWorkflows
Assembly
Invex.Atom.Module.DevOpsWorkflows.dll

Contains constant strings for all known Azure DevOps environment variable names.

public static class DevOps.VariableNames
Inheritance
object
DevOps.VariableNames

Fields

AgentBuildDirectory

The local path on the agent where the build artifacts are copied to before being published.

public const string AgentBuildDirectory = "AGENT_BUILDDIRECTORY"

Field Value

string

AgentHomeDirectory

The path to the agent's home directory.

public const string AgentHomeDirectory = "AGENT_HOMEDIRECTORY"

Field Value

string

AgentId

The ID of the agent.

public const string AgentId = "AGENT_ID"

Field Value

string

AgentJobName

The name of the agent job.

public const string AgentJobName = "AGENT_JOBNAME"

Field Value

string

AgentMachineName

The machine name of the agent.

public const string AgentMachineName = "AGENT_MACHINENAME"

Field Value

string

AgentName

The name of the agent.

public const string AgentName = "AGENT_NAME"

Field Value

string

AgentOs

The operating system of the agent.

public const string AgentOs = "AGENT_OS"

Field Value

string

AgentOsArchitecture

The architecture of the agent's operating system.

public const string AgentOsArchitecture = "AGENT_OSARCHITECTURE"

Field Value

string

AgentTempDirectory

The path to the agent's temporary directory.

public const string AgentTempDirectory = "AGENT_TEMPDIRECTORY"

Field Value

string

AgentToolsDirectory

The path to the agent's tools directory.

public const string AgentToolsDirectory = "AGENT_TOOLSDIRECTORY"

Field Value

string

AgentWorkFolder

The path to the agent's work folder.

public const string AgentWorkFolder = "AGENT_WORKFOLDER"

Field Value

string

BuildArtifactStagingDirectory

The local path on the agent where the build artifacts are copied to before being published.

public const string BuildArtifactStagingDirectory = "BUILD_ARTIFACTSTAGINGDIRECTORY"

Field Value

string

BuildBinariesDirectory

The local path on the agent where compiled binaries are placed.

public const string BuildBinariesDirectory = "BUILD_BINARIESDIRECTORY"

Field Value

string

BuildBuildId

The ID of the current build.

public const string BuildBuildId = "BUILD_BUILDID"

Field Value

string

BuildBuildNumber

The build number of the current build.

public const string BuildBuildNumber = "BUILD_BUILDNUMBER"

Field Value

string

BuildBuildUri

The URI of the current build.

public const string BuildBuildUri = "BUILD_BUILDURI"

Field Value

string

BuildContainerId

The ID of the container that ran the build.

public const string BuildContainerId = "BUILD_CONTAINERID"

Field Value

string

BuildCronScheduleDisplayName

The display name of the cron schedule that triggered the build.

public const string BuildCronScheduleDisplayName = "BUILD_CRONSCHEDULE_DISPLAYNAME"

Field Value

string

BuildDefinitionName

The name of the build definition.

public const string BuildDefinitionName = "BUILD_DEFINITIONNAME"

Field Value

string

BuildQueuedBy

The name of the user who queued the build.

public const string BuildQueuedBy = "BUILD_QUEUEDBY"

Field Value

string

BuildQueuedById

The ID of the user who queued the build.

public const string BuildQueuedById = "BUILD_QUEUEDBYID"

Field Value

string

BuildReason

The reason the build was triggered.

public const string BuildReason = "BUILD_REASON"

Field Value

string

BuildRepositoryClean

Indicates if the repository was cleaned before the build.

public const string BuildRepositoryClean = "BUILD_REPOSITORY_CLEAN"

Field Value

string

BuildRepositoryGitSubmoduleCheckout

Indicates if Git submodules were checked out.

public const string BuildRepositoryGitSubmoduleCheckout = "BUILD_REPOSITORY_GIT_SUBMODULECHECKOUT"

Field Value

string

BuildRepositoryId

The ID of the repository.

public const string BuildRepositoryId = "BUILD_REPOSITORY_ID"

Field Value

string

BuildRepositoryLocalPath

The local path on the agent where the repository is cloned.

public const string BuildRepositoryLocalPath = "BUILD_REPOSITORY_LOCALPATH"

Field Value

string

BuildRepositoryName

The name of the repository.

public const string BuildRepositoryName = "BUILD_REPOSITORY_NAME"

Field Value

string

BuildRepositoryProvider

The type of the repository (e.g., TfsGit, GitHub).

public const string BuildRepositoryProvider = "BUILD_REPOSITORY_PROVIDER"

Field Value

string

BuildRepositoryTfvcWorkspace

The TFVC workspace name.

public const string BuildRepositoryTfvcWorkspace = "BUILD_REPOSITORY_TFVC_WORKSPACE"

Field Value

string

BuildRepositoryUri

The URI of the repository.

public const string BuildRepositoryUri = "BUILD_REPOSITORY_URI"

Field Value

string

BuildRequestedFor

The name of the user who requested the build.

public const string BuildRequestedFor = "BUILD_REQUESTEDFOR"

Field Value

string

BuildRequestedForEmail

The email of the user who requested the build.

public const string BuildRequestedForEmail = "BUILD_REQUESTEDFOREMAIL"

Field Value

string

BuildRequestedForId

The ID of the user who requested the build.

public const string BuildRequestedForId = "BUILD_REQUESTEDFORID"

Field Value

string

BuildSourceBranch

The full Git ref of the source branch (e.g., refs/heads/main).

public const string BuildSourceBranch = "BUILD_SOURCEBRANCH"

Field Value

string

BuildSourceBranchName

The short name of the source branch (e.g., main).

public const string BuildSourceBranchName = "BUILD_SOURCEBRANCHNAME"

Field Value

string

BuildSourceTfvcShelveset

The TFVC shelveset name.

public const string BuildSourceTfvcShelveset = "BUILD_SOURCETFVC_SHELVESET"

Field Value

string

BuildSourceVersion

The commit ID of the source version.

public const string BuildSourceVersion = "BUILD_SOURCEVERSION"

Field Value

string

BuildSourceVersionMessage

The commit message of the source version.

public const string BuildSourceVersionMessage = "BUILD_SOURCEVERSIONMESSAGE"

Field Value

string

BuildSourcesDirectory

The local path on the agent where the source code is downloaded.

public const string BuildSourcesDirectory = "BUILD_SOURCESDIRECTORY"

Field Value

string

BuildStagingDirectory

The local path on the agent where staging files are placed.

public const string BuildStagingDirectory = "BUILD_STAGINGDIRECTORY"

Field Value

string

BuildTriggeredByBuildId

The ID of the build that triggered the current build.

public const string BuildTriggeredByBuildId = "BUILD_TRIGGEREDBY_BUILDID"

Field Value

string

BuildTriggeredByBuildNumber

The build number of the build that triggered the current build.

public const string BuildTriggeredByBuildNumber = "BUILD_TRIGGEREDBY_BUILDNUMBER"

Field Value

string

BuildTriggeredByDefinitionId

The definition ID of the build that triggered the current build.

public const string BuildTriggeredByDefinitionId = "BUILD_TRIGGEREDBY_DEFINITIONID"

Field Value

string

BuildTriggeredByDefinitionName

The definition name of the build that triggered the current build.

public const string BuildTriggeredByDefinitionName = "BUILD_TRIGGEREDBY_DEFINITIONNAME"

Field Value

string

BuildTriggeredByProjectId

The project ID of the build that triggered the current build.

public const string BuildTriggeredByProjectId = "BUILD_TRIGGEREDBY_PROJECTID"

Field Value

string

ChecksStageAttempt

The attempt number of the checks stage.

public const string ChecksStageAttempt = "CHECKS_STAGEATTEMPT"

Field Value

string

CommonTestResultsDirectory

The common directory for test results.

public const string CommonTestResultsDirectory = "COMMON_TESTRESULTSDIRECTORY"

Field Value

string

EnvironmentId

The ID of the environment.

public const string EnvironmentId = "ENVIRONMENT_ID"

Field Value

string

EnvironmentName

The name of the environment.

public const string EnvironmentName = "ENVIRONMENT_NAME"

Field Value

string

EnvironmentResourceId

The ID of the environment resource.

public const string EnvironmentResourceId = "ENVIRONMENT_RESOURCEID"

Field Value

string

EnvironmentResourceName

The name of the environment resource.

public const string EnvironmentResourceName = "ENVIRONMENT_RESOURCENAME"

Field Value

string

StrategyCycleName

The cycle name of the deployment strategy.

public const string StrategyCycleName = "STRATEGY_CYCLENAME"

Field Value

string

StrategyName

The name of the deployment strategy.

public const string StrategyName = "STRATEGY_NAME"

Field Value

string

SystemAccessToken

The OAuth token used for accessing Azure DevOps REST APIs.

public const string SystemAccessToken = "SYSTEM_ACCESSTOKEN"

Field Value

string

SystemCollectionId

The ID of the Azure DevOps collection.

public const string SystemCollectionId = "SYSTEM_COLLECTIONID"

Field Value

string

SystemCollectionUri

The URI of the Azure DevOps collection.

public const string SystemCollectionUri = "SYSTEM_COLLECTIONURI"

Field Value

string

SystemDebug

Indicates if debug logging is enabled for the build.

public const string SystemDebug = "SYSTEM_DEBUG"

Field Value

string

SystemDefaultWorkingDirectory

The default working directory for the build.

public const string SystemDefaultWorkingDirectory = "SYSTEM_DEFAULTWORKINGDIRECTORY"

Field Value

string

SystemDefinitionId

The ID of the build definition.

public const string SystemDefinitionId = "SYSTEM_DEFINITIONID"

Field Value

string

SystemHostType

The host type of the system.

public const string SystemHostType = "SYSTEM_HOSTTYPE"

Field Value

string

SystemJobAttempt

The attempt number of the current job.

public const string SystemJobAttempt = "SYSTEM_JOBATTEMPT"

Field Value

string

SystemJobDisplayName

The display name of the current job.

public const string SystemJobDisplayName = "SYSTEM_JOBDISPLAYNAME"

Field Value

string

SystemJobId

The ID of the current job.

public const string SystemJobId = "SYSTEM_JOBID"

Field Value

string

SystemJobName

The name of the current job.

public const string SystemJobName = "SYSTEM_JOBNAME"

Field Value

string

SystemOidcRequestUri

The OIDC request URI.

public const string SystemOidcRequestUri = "SYSTEM_OIDCREQUESTURI"

Field Value

string

SystemPhaseAttempt

The attempt number of the current phase.

public const string SystemPhaseAttempt = "SYSTEM_PHASEATTEMPT"

Field Value

string

SystemPhaseDisplayName

The display name of the current phase.

public const string SystemPhaseDisplayName = "SYSTEM_PHASEDISPLAYNAME"

Field Value

string

SystemPhaseName

The name of the current phase.

public const string SystemPhaseName = "SYSTEM_PHASENAME"

Field Value

string

SystemPlanId

The ID of the current plan.

public const string SystemPlanId = "SYSTEM_PLANID"

Field Value

string

SystemPullRequestIsFork

Indicates if the pull request is from a fork.

public const string SystemPullRequestIsFork = "SYSTEM_PULLREQUEST_ISFORK"

Field Value

string

SystemPullRequestPullRequestId

The ID of the pull request.

public const string SystemPullRequestPullRequestId = "SYSTEM_PULLREQUEST_PULLREQUESTID"

Field Value

string

SystemPullRequestPullRequestNumber

The number of the pull request.

public const string SystemPullRequestPullRequestNumber = "SYSTEM_PULLREQUEST_PULLREQUESTNUMBER"

Field Value

string

SystemPullRequestSourceBranch

The source branch of the pull request.

public const string SystemPullRequestSourceBranch = "SYSTEM_PULLREQUEST_SOURCEBRANCH"

Field Value

string

SystemPullRequestSourceCommitId

The commit ID of the source branch for the pull request.

public const string SystemPullRequestSourceCommitId = "SYSTEM_PULLREQUEST_SOURCECOMMITID"

Field Value

string

SystemPullRequestSourceRepositoryUri

The URI of the source repository for the pull request.

public const string SystemPullRequestSourceRepositoryUri = "SYSTEM_PULLREQUEST_SOURCEREPOSITORYURI"

Field Value

string

SystemPullRequestStageAttempt

The attempt number of the current pull request stage.

public const string SystemPullRequestStageAttempt = "SYSTEM_PULLREQUEST_STAGEATTEMPT"

Field Value

string

SystemPullRequestStageDisplayName

The display name of the current pull request stage.

public const string SystemPullRequestStageDisplayName = "SYSTEM_PULLREQUEST_STAGEDISPLAYNAME"

Field Value

string

SystemPullRequestStageName

The name of the current pull request stage.

public const string SystemPullRequestStageName = "SYSTEM_PULLREQUEST_STAGENAME"

Field Value

string

SystemPullRequestTargetBranch

The target branch of the pull request.

public const string SystemPullRequestTargetBranch = "SYSTEM_PULLREQUEST_TARGETBRANCH"

Field Value

string

SystemPullRequestTargetBranchName

The name of the target branch for the pull request.

public const string SystemPullRequestTargetBranchName = "SYSTEM_PULLREQUEST_TARGETBRANCHNAME"

Field Value

string

SystemTeamFoundationCollectionUri

The URI of the Team Foundation Server collection.

public const string SystemTeamFoundationCollectionUri = "SYSTEM_TEAMFOUNDATIONCOLLECTIONURI"

Field Value

string

SystemTeamProject

The name of the Team Project.

public const string SystemTeamProject = "SYSTEM_TEAMPROJECT"

Field Value

string

SystemTeamProjectId

The ID of the Team Project.

public const string SystemTeamProjectId = "SYSTEM_TEAMPROJECTID"

Field Value

string

SystemTeamTimelineId

The ID of the timeline.

public const string SystemTeamTimelineId = "SYSTEM_TIMELINEID"

Field Value

string

TfBuild

Indicates if the build is running in Azure DevOps.

public const string TfBuild = "TF_BUILD"

Field Value

string