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