Class DevopsContexts
- Namespace
- Invex.StructuredText.AzureDevopsPipelines
- Assembly
- Invex.StructuredText.AzureDevopsPipelines.dll
Azure DevOps predefined variables and run-time expressions, reached through Tex.DevOps.
Each variable is a Variable(string) reference: $(Build.BuildId) in a template and
variables['Build.BuildId'] in a condition.
public sealed class DevopsContexts
- Inheritance
-
objectDevopsContexts
Properties
Agent
Agent.* variables.
public DevopsAgentVariables Agent { get; }
Property Value
Build
Build.* variables.
public DevopsBuildVariables Build { get; }
Property Value
PipelineWorkspace
Pipeline.Workspace: the local path on the agent where the pipeline's files live.
public StringExpr PipelineWorkspace { get; }
Property Value
System
System.* variables.
public DevopsSystemVariables System { get; }
Property Value
Methods
Runtime(Expr)
Evaluates expression at run time: $[ … ] when embedded in a template.
public DevopsRuntimeExpr Runtime(Expr expression)
Parameters
expressionExprThe expression.