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