6 references to GetEnvironmentVariable
Microsoft.DotNet.Helix.Sdk (6)
AzureDevOpsTask.cs (4)
36
protected string AccessToken =>
GetEnvironmentVariable
("SYSTEM_ACCESSTOKEN");
38
protected string CollectionUri =>
GetEnvironmentVariable
("SYSTEM_TEAMFOUNDATIONCOLLECTIONURI");
40
protected string TeamProject =>
GetEnvironmentVariable
("SYSTEM_TEAMPROJECT");
42
protected string BuildId =>
GetEnvironmentVariable
("BUILD_BUILDID");
StartAzurePipelinesTestRun.cs (2)
86
[$"{part.ToLowerInvariant()}Name"] = name ??
GetEnvironmentVariable
($"SYSTEM_{part.ToUpperInvariant()}NAME"),
93
else if (int.TryParse(
GetEnvironmentVariable
($"SYSTEM_{part.ToUpperInvariant()}ATTEMPT"), out int attemptFromEnv))