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