Class DevOps.Variables
- Namespace
- Invex.Atom.Module.DevOpsWorkflows
- Assembly
- Invex.Atom.Module.DevOpsWorkflows.dll
Provides access to Azure DevOps environment variables as strongly-typed properties.
public static class DevOps.Variables
- Inheritance
-
objectDevOps.Variables
Remarks
Each property corresponds to an Azure DevOps environment variable, returning its value or an empty string if the variable is not set.
Properties
AgentBuildDirectory
Gets the value of the AGENT_BUILDDIRECTORY environment variable.
public static string AgentBuildDirectory { get; }
Property Value
- string
AgentHomeDirectory
Gets the value of the AGENT_HOMEDIRECTORY environment variable.
public static string AgentHomeDirectory { get; }
Property Value
- string
AgentId
Gets the value of the AGENT_ID environment variable.
public static string AgentId { get; }
Property Value
- string
AgentJobName
Gets the value of the AGENT_JOBNAME environment variable.
public static string AgentJobName { get; }
Property Value
- string
AgentMachineName
Gets the value of the AGENT_MACHINENAME environment variable.
public static string AgentMachineName { get; }
Property Value
- string
AgentName
Gets the value of the AGENT_NAME environment variable.
public static string AgentName { get; }
Property Value
- string
AgentOs
Gets the value of the AGENT_OS environment variable.
public static string AgentOs { get; }
Property Value
- string
AgentOsArchitecture
Gets the value of the AGENT_OSARCHITECTURE environment variable.
public static string AgentOsArchitecture { get; }
Property Value
- string
AgentTempDirectory
Gets the value of the AGENT_TEMPDIRECTORY environment variable.
public static string AgentTempDirectory { get; }
Property Value
- string
AgentToolsDirectory
Gets the value of the AGENT_TOOLSDIRECTORY environment variable.
public static string AgentToolsDirectory { get; }
Property Value
- string
AgentWorkFolder
Gets the value of the AGENT_WORKFOLDER environment variable.
public static string AgentWorkFolder { get; }
Property Value
- string
BuildArtifactStagingDirectory
Gets the value of the BUILD_ARTIFACTSTAGINGDIRECTORY environment variable.
public static string BuildArtifactStagingDirectory { get; }
Property Value
- string
BuildBinariesDirectory
Gets the value of the BUILD_BINARIESDIRECTORY environment variable.
public static string BuildBinariesDirectory { get; }
Property Value
- string
BuildBuildId
Gets the value of the BUILD_BUILDID environment variable.
public static string BuildBuildId { get; }
Property Value
- string
BuildBuildNumber
Gets the value of the BUILD_BUILDNUMBER environment variable.
public static string BuildBuildNumber { get; }
Property Value
- string
BuildBuildUri
Gets the value of the BUILD_BUILDURI environment variable.
public static string BuildBuildUri { get; }
Property Value
- string
BuildContainerId
Gets the value of the BUILD_CONTAINERID environment variable.
public static string BuildContainerId { get; }
Property Value
- string
BuildCronScheduleDisplayName
Gets the value of the BUILD_CRONSCHEDULE_DISPLAYNAME environment variable.
public static string BuildCronScheduleDisplayName { get; }
Property Value
- string
BuildDefinitionName
Gets the value of the BUILD_DEFINITIONNAME environment variable.
public static string BuildDefinitionName { get; }
Property Value
- string
BuildQueuedBy
Gets the value of the BUILD_QUEUEDBY environment variable.
public static string BuildQueuedBy { get; }
Property Value
- string
BuildQueuedById
Gets the value of the BUILD_QUEUEDBYID environment variable.
public static string BuildQueuedById { get; }
Property Value
- string
BuildReason
Gets the value of the BUILD_REASON environment variable.
public static string BuildReason { get; }
Property Value
- string
BuildRepositoryClean
Gets the value of the BUILD_REPOSITORY_CLEAN environment variable.
public static string BuildRepositoryClean { get; }
Property Value
- string
BuildRepositoryGitSubmoduleCheckout
Gets the value of the BUILD_REPOSITORY_GIT_SUBMODULECHECKOUT environment variable.
public static string BuildRepositoryGitSubmoduleCheckout { get; }
Property Value
- string
BuildRepositoryId
Gets the value of the BUILD_REPOSITORY_ID environment variable.
public static string BuildRepositoryId { get; }
Property Value
- string
BuildRepositoryLocalPath
Gets the value of the BUILD_REPOSITORY_LOCALPATH environment variable.
public static string BuildRepositoryLocalPath { get; }
Property Value
- string
BuildRepositoryName
Gets the value of the BUILD_REPOSITORY_NAME environment variable.
public static string BuildRepositoryName { get; }
Property Value
- string
BuildRepositoryProvider
Gets the value of the BUILD_REPOSITORY_PROVIDER environment variable.
public static string BuildRepositoryProvider { get; }
Property Value
- string
BuildRepositoryTfvcWorkspace
Gets the value of the BUILD_REPOSITORY_TFVC_WORKSPACE environment variable.
public static string BuildRepositoryTfvcWorkspace { get; }
Property Value
- string
BuildRepositoryUri
Gets the value of the BUILD_REPOSITORY_URI environment variable.
public static string BuildRepositoryUri { get; }
Property Value
- string
BuildRequestedFor
Gets the value of the BUILD_REQUESTEDFOR environment variable.
public static string BuildRequestedFor { get; }
Property Value
- string
BuildRequestedForEmail
Gets the value of the BUILD_REQUESTEDFOREMAIL environment variable.
public static string BuildRequestedForEmail { get; }
Property Value
- string
BuildRequestedForId
Gets the value of the BUILD_REQUESTEDFORID environment variable.
public static string BuildRequestedForId { get; }
Property Value
- string
BuildSourceBranch
Gets the value of the BUILD_SOURCEBRANCH environment variable.
public static string BuildSourceBranch { get; }
Property Value
- string
BuildSourceBranchName
Gets the value of the BUILD_SOURCEBRANCHNAME environment variable.
public static string BuildSourceBranchName { get; }
Property Value
- string
BuildSourceTfvcShelveset
Gets the value of the BUILD_SOURCETFVC_SHELVESET environment variable.
public static string BuildSourceTfvcShelveset { get; }
Property Value
- string
BuildSourceVersion
Gets the value of the BUILD_SOURCEVERSION environment variable.
public static string BuildSourceVersion { get; }
Property Value
- string
BuildSourceVersionMessage
Gets the value of the BUILD_SOURCEVERSIONMESSAGE environment variable.
public static string BuildSourceVersionMessage { get; }
Property Value
- string
BuildSourcesDirectory
Gets the value of the BUILD_SOURCESDIRECTORY environment variable.
public static string BuildSourcesDirectory { get; }
Property Value
- string
BuildStagingDirectory
Gets the value of the BUILD_STAGINGDIRECTORY environment variable.
public static string BuildStagingDirectory { get; }
Property Value
- string
BuildTriggeredByBuildId
Gets the value of the BUILD_TRIGGEREDBY_BUILDID environment variable.
public static string BuildTriggeredByBuildId { get; }
Property Value
- string
BuildTriggeredByBuildNumber
Gets the value of the BUILD_TRIGGEREDBY_BUILDNUMBER environment variable.
public static string BuildTriggeredByBuildNumber { get; }
Property Value
- string
BuildTriggeredByDefinitionId
Gets the value of the BUILD_TRIGGEREDBY_DEFINITIONID environment variable.
public static string BuildTriggeredByDefinitionId { get; }
Property Value
- string
BuildTriggeredByDefinitionName
Gets the value of the BUILD_TRIGGEREDBY_DEFINITIONNAME environment variable.
public static string BuildTriggeredByDefinitionName { get; }
Property Value
- string
BuildTriggeredByProjectId
Gets the value of the BUILD_TRIGGEREDBY_PROJECTID environment variable.
public static string BuildTriggeredByProjectId { get; }
Property Value
- string
ChecksStageAttempt
Gets the value of the CHECKS_STAGEATTEMPT environment variable.
public static string ChecksStageAttempt { get; }
Property Value
- string
CommonTestResultsDirectory
Gets the value of the COMMON_TESTRESULTSDIRECTORY environment variable.
public static string CommonTestResultsDirectory { get; }
Property Value
- string
EnvironmentId
Gets the value of the ENVIRONMENT_ID environment variable.
public static string EnvironmentId { get; }
Property Value
- string
EnvironmentName
Gets the value of the ENVIRONMENT_NAME environment variable.
public static string EnvironmentName { get; }
Property Value
- string
EnvironmentResourceId
Gets the value of the ENVIRONMENT_RESOURCEID environment variable.
public static string EnvironmentResourceId { get; }
Property Value
- string
EnvironmentResourceName
Gets the value of the ENVIRONMENT_RESOURCENAME environment variable.
public static string EnvironmentResourceName { get; }
Property Value
- string
StrategyCycleName
Gets the value of the STRATEGY_CYCLENAME environment variable.
public static string StrategyCycleName { get; }
Property Value
- string
StrategyName
Gets the value of the STRATEGY_NAME environment variable.
public static string StrategyName { get; }
Property Value
- string
SystemAccessToken
Gets the value of the SYSTEM_ACCESSTOKEN environment variable.
public static string SystemAccessToken { get; }
Property Value
- string
SystemCollectionId
Gets the value of the SYSTEM_COLLECTIONID environment variable.
public static string SystemCollectionId { get; }
Property Value
- string
SystemCollectionUri
Gets the value of the SYSTEM_COLLECTIONURI environment variable.
public static string SystemCollectionUri { get; }
Property Value
- string
SystemDebug
Gets the value of the SYSTEM_DEBUG environment variable.
public static string SystemDebug { get; }
Property Value
- string
SystemDefaultWorkingDirectory
Gets the value of the SYSTEM_DEFAULTWORKINGDIRECTORY environment variable.
public static string SystemDefaultWorkingDirectory { get; }
Property Value
- string
SystemDefinitionId
Gets the value of the SYSTEM_DEFINITIONID environment variable.
public static string SystemDefinitionId { get; }
Property Value
- string
SystemHostType
Gets the value of the SYSTEM_HOSTTYPE environment variable.
public static string SystemHostType { get; }
Property Value
- string
SystemJobAttempt
Gets the value of the SYSTEM_JOBATTEMPT environment variable.
public static string SystemJobAttempt { get; }
Property Value
- string
SystemJobDisplayName
Gets the value of the SYSTEM_JOBDISPLAYNAME environment variable.
public static string SystemJobDisplayName { get; }
Property Value
- string
SystemJobId
Gets the value of the SYSTEM_JOBID environment variable.
public static string SystemJobId { get; }
Property Value
- string
SystemJobName
Gets the value of the SYSTEM_JOBNAME environment variable.
public static string SystemJobName { get; }
Property Value
- string
SystemOidcRequestUri
Gets the value of the SYSTEM_OIDCREQUESTURI environment variable.
public static string SystemOidcRequestUri { get; }
Property Value
- string
SystemPhaseAttempt
Gets the value of the SYSTEM_PHASEATTEMPT environment variable.
public static string SystemPhaseAttempt { get; }
Property Value
- string
SystemPhaseDisplayName
Gets the value of the SYSTEM_PHASEDISPLAYNAME environment variable.
public static string SystemPhaseDisplayName { get; }
Property Value
- string
SystemPhaseName
Gets the value of the SYSTEM_PHASENAME environment variable.
public static string SystemPhaseName { get; }
Property Value
- string
SystemPlanId
Gets the value of the SYSTEM_PLANID environment variable.
public static string SystemPlanId { get; }
Property Value
- string
SystemPullRequestIsFork
Gets the value of the SYSTEM_PULLREQUEST_ISFORK environment variable.
public static string SystemPullRequestIsFork { get; }
Property Value
- string
SystemPullRequestPullRequestId
Gets the value of the SYSTEM_PULLREQUEST_PULLREQUESTID environment variable.
public static string SystemPullRequestPullRequestId { get; }
Property Value
- string
SystemPullRequestPullRequestNumber
Gets the value of the SYSTEM_PULLREQUEST_PULLREQUESTNUMBER environment variable.
public static string SystemPullRequestPullRequestNumber { get; }
Property Value
- string
SystemPullRequestSourceBranch
Gets the value of the SYSTEM_PULLREQUEST_SOURCEBRANCH environment variable.
public static string SystemPullRequestSourceBranch { get; }
Property Value
- string
SystemPullRequestSourceCommitId
Gets the value of the SYSTEM_PULLREQUEST_SOURCECOMMITID environment variable.
public static string SystemPullRequestSourceCommitId { get; }
Property Value
- string
SystemPullRequestSourceRepositoryUri
Gets the value of the SYSTEM_PULLREQUEST_SOURCEREPOSITORYURI environment variable.
public static string SystemPullRequestSourceRepositoryUri { get; }
Property Value
- string
SystemPullRequestStageAttempt
Gets the value of the SYSTEM_PULLREQUEST_STAGEATTEMPT environment variable.
public static string SystemPullRequestStageAttempt { get; }
Property Value
- string
SystemPullRequestStageDisplayName
Gets the value of the SYSTEM_PULLREQUEST_STAGEDISPLAYNAME environment variable.
public static string SystemPullRequestStageDisplayName { get; }
Property Value
- string
SystemPullRequestStageName
Gets the value of the SYSTEM_PULLREQUEST_STAGENAME environment variable.
public static string SystemPullRequestStageName { get; }
Property Value
- string
SystemPullRequestTargetBranch
Gets the value of the SYSTEM_PULLREQUEST_TARGETBRANCH environment variable.
public static string SystemPullRequestTargetBranch { get; }
Property Value
- string
SystemPullRequestTargetBranchName
Gets the value of the SYSTEM_PULLREQUEST_TARGETBRANCHNAME environment variable.
public static string SystemPullRequestTargetBranchName { get; }
Property Value
- string
SystemTeamFoundationCollectionUri
Gets the value of the SYSTEM_TEAMFOUNDATIONCOLLECTIONURI environment variable.
public static string SystemTeamFoundationCollectionUri { get; }
Property Value
- string
SystemTeamProject
Gets the value of the SYSTEM_TEAMPROJECT environment variable.
public static string SystemTeamProject { get; }
Property Value
- string
SystemTeamProjectId
Gets the value of the SYSTEM_TEAMPROJECTID environment variable.
public static string SystemTeamProjectId { get; }
Property Value
- string
SystemTeamTimelineId
Gets the value of the SYSTEM_TIMELINEID environment variable.
public static string SystemTeamTimelineId { get; }
Property Value
- string
TfBuild
Gets the value of the TF_BUILD environment variable.
public static string TfBuild { get; }
Property Value
- string