Table of Contents

CI and logging

Detect local builds, read CI metadata, emit provider-native messages, and configure logging.

Entry points

Do.IsLocalBuild

Whether the current process is running outside CI.

public static bool IsLocalBuild { get; }

Property Value

bool

Do.AzurePipelines

The active Azure Pipelines agent, or null outside Azure Pipelines.

public static AzurePipelines? AzurePipelines { get; }

Property Value

AzurePipelines?

Do.GitHubActions

The active GitHub Actions runner, or null outside GitHub Actions.

public static GitHubActions? GitHubActions { get; }

Property Value

GitHubActions?

Related types