Table of Contents

Class DevOps

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

Provides utility methods and properties for interacting with Azure DevOps Pipelines.

public static class DevOps
Inheritance
object
DevOps

Remarks

This static class offers convenient access to Azure DevOps environment variables, and defines standard pipeline directories for artifact staging and binary output.

Properties

IsDevOpsPipelines

Gets a value indicating whether the current execution environment is Azure DevOps Pipelines.

public static bool IsDevOpsPipelines { get; }

Property Value

bool

PipelineArtifactDirectory

Gets the default pipeline artifact directory path for Azure DevOps Pipelines.

public static string PipelineArtifactDirectory { get; }

Property Value

string

Remarks

This path typically corresponds to $(Build.ArtifactStagingDirectory) in Azure DevOps, used for staging artifacts before publishing them.

PipelinePublishDirectory

Gets the default pipeline publish directory path for Azure DevOps Pipelines.

public static string PipelinePublishDirectory { get; }

Property Value

string

Remarks

This path typically corresponds to $(Build.BinariesDirectory) in Azure DevOps, where compiled binaries and other build outputs are placed.

WorkflowType

Gets an instance of DevOpsWorkflowType for defining Azure DevOps-specific workflow types.

public static DevOpsWorkflowType WorkflowType { get; }

Property Value

DevOpsWorkflowType