AzurePipelinesInfo.

GetRepositoryType(string) Method

Summary

Gets the current repository type as a AzurePipelinesRepositoryType from an environment variable.

Syntax

protected AzurePipelinesRepositoryType? GetRepositoryType(string variable)

Parameters

Name Type Description
variable string The environment variable name.

Return Value

Type Description
AzurePipelinesRepositoryType? The current repository type.