Summary
Gets the current repository type as a
AzurePipelinesRepositoryType
from an environment variable.
- Namespace
- Cake
.Common .Build .AzurePipelines - Containing Type
- AzurePipelinesInfo
Syntax
protected AzurePipelinesRepositoryType? GetRepositoryType(string variable)
Parameters
Name | Type | Description |
---|---|---|
variable | string | The environment variable name. |
Return Value
Type | Description |
---|---|
Azure |
The current repository type. |