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