3 instantiations of FailureCategory
Microsoft.DotNet.Helix.Sdk (3)
FailureCategory.cs (3)
10public static FailureCategory Build { get; } = new FailureCategory("Build"); 11public static FailureCategory Test { get; } = new FailureCategory("Test"); 12public static FailureCategory Helix { get; } = new FailureCategory("Helix");
33 references to FailureCategory
Microsoft.DotNet.Helix.Sdk (33)
AzureDevOpsTask.cs (7)
52Log.LogError(FailureCategory.Build, "This task must be run inside an Azure Pipelines Build"); 78Log.LogErrorFromException(FailureCategory.Helix, ex, true); 100Log.LogError(FailureCategory.Helix, ex.ToString()); 116Log.LogError(FailureCategory.Helix, ex.ToString()); 126FailureCategory.Build, 136Log.LogError(FailureCategory.Build, message); 162Log.LogError(FailureCategory.Helix, $"Request to {req.RequestUri} returned unexpected response: {responseContent}");
CheckAzurePipelinesTestResults.cs (7)
122Log.LogError(FailureCategory.Test, $"Test run {testRunId} has one or more failing tests based on run statistics, but I couldn't find the failures."); 150Log.LogError(FailureCategory.Test, $"Test {name} has failed. Check the Test tab or this console log: {workItem.GetMetadata("ConsoleOutputUri")}"); 154Log.LogError(FailureCategory.Test, $"Test {name} has failed. Check the Test tab for details."); 187Log.LogError(FailureCategory.Test, message); 197Log.LogError(FailureCategory.Helix, "Unable to get test report from build."); 234Log.LogError(FailureCategory.Test, $"TestRun {runId}: Test {testName} has failed and is not expected to fail."); 240Log.LogError(FailureCategory.Test, $"TestRun {runId}: Test {expectedFailure} was expected to fail but did not fail.");
CheckHelixJobStatus.cs (1)
44Log.LogError(FailureCategory.Test, $"Work item {workItemName} in job {jobName} has failed.\nFailure log: {consoleUri}{accessTokenSuffix}");
DownloadFromResultsContainer.cs (1)
134Log.LogError(FailureCategory.Build, $"Required parameter {parameter} string was null or empty");
FailureCategory.cs (3)
10public static FailureCategory Build { get; } = new FailureCategory("Build"); 11public static FailureCategory Test { get; } = new FailureCategory("Test"); 12public static FailureCategory Helix { get; } = new FailureCategory("Helix");
FindDotNetCliPackage.cs (1)
127Log.LogError(FailureCategory.Build, $"Unable to find dotnet cli {PackageType} version {Version} from any of the specified feeds.");
GetHelixWorkItems.cs (1)
48FailureCategory.Build,
HelixTask.cs (4)
65Log.LogError(FailureCategory.Build, "Helix operation returned 'Unauthorized'. Did you forget to set HelixAccessToken?"); 69Log.LogError(FailureCategory.Build, "Helix operation returned 'Forbidden'."); 80Log.LogError(FailureCategory.Build, argEx.Message); 89Log.LogErrorFromException(FailureCategory.Helix, ex, true, true, null);
LoggerExtensions.cs (3)
25public static FailureCategoryScope EnterFailureCategoryScope(this TaskLoggingHelper log, FailureCategory category) 42public static void LogError(this TaskLoggingHelper log, FailureCategory category, string message, params object[] messageArgs) 52FailureCategory category,
SendHelixJob.cs (4)
169Log.LogError(FailureCategory.Build, "Creator is required when using anonymous access."); 175Log.LogError(FailureCategory.Build, "Creator is forbidden when using authenticated access."); 222Log.LogError(FailureCategory.Build, "SendHelixJob given no WorkItems to send."); 568Log.LogError(FailureCategory.Build, $"Correlation Payload '{path}' not found.");
TaskItemExtensions.cs (1)
22log.LogError(FailureCategory.Build, $"Item '{item.ItemSpec}' missing required metadata '{key}'.");