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