1 write to HelixApi
Microsoft.DotNet.Helix.Sdk (1)
HelixTask.cs (1)
56HelixApi = GetHelixApi();
11 references to HelixApi
Microsoft.DotNet.Helix.Sdk (11)
CancelHelixJob.cs (1)
23var api = HelixApi;
DownloadFromResultsContainer.cs (1)
73var allAvailableFiles = await HelixApi.WorkItem.ListFilesAsync(workItemName, JobId, true, ct);
GetHelixWorkItems.cs (3)
40var status = await HelixApi.Job.PassFailAsync(jobName, cancellationToken).ConfigureAwait(false); 57var consoleUri = HelixApi.Options.BaseUri.AbsoluteUri.TrimEnd('/') + $"/api/2019-06-17/jobs/{jobName}/workitems/{Uri.EscapeDataString(name)}/console"; 96var files = await HelixApi.WorkItem.ListFilesAsync(wi, jobName, false, cancellationToken).ConfigureAwait(false);
SendHelixJob.cs (1)
182var currentHelixApi = HelixApi;
WaitForHelixJobCompletion.cs (5)
40string detailsUrlWhereApplicable = HelixApi.Options.Credentials == null ? $" (Details: {HelixApi.Options.BaseUri}api/jobs/{jobName}/details?api-version=2019-06-17 )" : string.Empty; 53var jd = await HelixApi.Job.DetailsAsync(jobName, cancellationToken).ConfigureAwait(false); 63var pf = await HelixApi.Job.PassFailAsync(jobName, cancellationToken).ConfigureAwait(false); 87await HelixApi.Job.CancelAsync(jobName, helixJobCancellationToken);