6 references to GetEnvironmentVariable
Microsoft.DotNet.Helix.Sdk (6)
AzureDevOpsTask.cs (4)
37
protected string AccessToken =>
GetEnvironmentVariable
("SYSTEM_ACCESSTOKEN");
39
protected string CollectionUri =>
GetEnvironmentVariable
("SYSTEM_TEAMFOUNDATIONCOLLECTIONURI");
41
protected string TeamProject =>
GetEnvironmentVariable
("SYSTEM_TEAMPROJECT");
43
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))