Table of Contents

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
object
DevopsContexts

Properties

Agent

Agent.* variables.

public DevopsAgentVariables Agent { get; }

Property Value

DevopsAgentVariables

Build

Build.* variables.

public DevopsBuildVariables Build { get; }

Property Value

DevopsBuildVariables

PipelineWorkspace

Pipeline.Workspace: the local path on the agent where the pipeline's files live.

public StringExpr PipelineWorkspace { get; }

Property Value

StringExpr

System

System.* variables.

public DevopsSystemVariables System { get; }

Property Value

DevopsSystemVariables

Methods

Runtime(Expr)

Evaluates expression at run time: $[ … ] when embedded in a template.

public DevopsRuntimeExpr Runtime(Expr expression)

Parameters

expression Expr

The expression.

Returns

DevopsRuntimeExpr