mirror of
https://github.com/jlengrand/github-api.git
synced 2026-03-10 08:21:21 +00:00
Add ability to get jobs and download logs from jobs
This commit is contained in:
@@ -3052,6 +3052,22 @@ public class GHRepository extends GHObject {
|
||||
.wrapUp(this);
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets a job from a workflow run by id.
|
||||
*
|
||||
* @param id
|
||||
* the id of the job
|
||||
* @return the job
|
||||
* @throws IOException
|
||||
* the io exception
|
||||
*/
|
||||
public GHWorkflowRunJob getWorkflowRunJob(long id) throws IOException {
|
||||
return root.createRequest()
|
||||
.withUrlPath(getApiTailUrl("/actions/jobs/"), String.valueOf(id))
|
||||
.fetch(GHWorkflowRunJob.class)
|
||||
.wrapUp(this);
|
||||
}
|
||||
|
||||
// Only used within listTopics().
|
||||
private static class Topics {
|
||||
public List<String> names;
|
||||
|
||||
@@ -285,8 +285,9 @@ public class GHWorkflowRun extends GHObject {
|
||||
/**
|
||||
* Downloads the logs.
|
||||
* <p>
|
||||
* The logs are in the form of a zip archive. The full log file is at the root and called {@code 1_build.txt}. Split
|
||||
* log files are also available in the {@code build} directory.
|
||||
* The logs are in the form of a zip archive.
|
||||
* <p>
|
||||
* Note that the archive is the same as the one downloaded from a workflow run so it contains the logs for all jobs.
|
||||
*
|
||||
* @param <T>
|
||||
* the type of result
|
||||
@@ -312,6 +313,15 @@ public class GHWorkflowRun extends GHObject {
|
||||
root.createRequest().method("DELETE").withUrlPath(getApiRoute(), "logs").fetchHttpStatusCode();
|
||||
}
|
||||
|
||||
/**
|
||||
* Retrieves the jobs of this workflow run.
|
||||
*
|
||||
* @return the jobs query builder
|
||||
*/
|
||||
public GHWorkflowRunJobQueryBuilder queryJobs() {
|
||||
return new GHWorkflowRunJobQueryBuilder(this);
|
||||
}
|
||||
|
||||
private String getApiRoute() {
|
||||
if (owner == null) {
|
||||
// Workflow runs returned from search to do not have an owner. Attempt to use url.
|
||||
|
||||
256
src/main/java/org/kohsuke/github/GHWorkflowRunJob.java
Normal file
256
src/main/java/org/kohsuke/github/GHWorkflowRunJob.java
Normal file
@@ -0,0 +1,256 @@
|
||||
package org.kohsuke.github;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonIgnore;
|
||||
import org.apache.commons.lang3.StringUtils;
|
||||
import org.kohsuke.github.GHWorkflowRun.Conclusion;
|
||||
import org.kohsuke.github.GHWorkflowRun.Status;
|
||||
import org.kohsuke.github.function.InputStreamFunction;
|
||||
|
||||
import java.io.IOException;
|
||||
import java.net.URL;
|
||||
import java.util.ArrayList;
|
||||
import java.util.Date;
|
||||
import java.util.List;
|
||||
import java.util.Objects;
|
||||
|
||||
import static java.util.Objects.requireNonNull;
|
||||
|
||||
/**
|
||||
* A workflow run job.
|
||||
*
|
||||
* @author Guillaume Smet
|
||||
*/
|
||||
public class GHWorkflowRunJob extends GHObject {
|
||||
|
||||
// Not provided by the API.
|
||||
@JsonIgnore
|
||||
private GHRepository owner;
|
||||
|
||||
private String name;
|
||||
|
||||
private String headSha;
|
||||
|
||||
private String startedAt;
|
||||
private String completedAt;
|
||||
|
||||
private String status;
|
||||
private String conclusion;
|
||||
|
||||
private long runId;
|
||||
|
||||
private String htmlUrl;
|
||||
private String checkRunUrl;
|
||||
|
||||
private List<Step> steps = new ArrayList<>();
|
||||
|
||||
/**
|
||||
* The name of the job.
|
||||
*
|
||||
* @return the name
|
||||
*/
|
||||
public String getName() {
|
||||
return name;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the HEAD SHA.
|
||||
*
|
||||
* @return sha for the HEAD commit
|
||||
*/
|
||||
public String getHeadSha() {
|
||||
return headSha;
|
||||
}
|
||||
|
||||
/**
|
||||
* When was this job started?
|
||||
*
|
||||
* @return start date
|
||||
*/
|
||||
public Date getStartedAt() {
|
||||
return GitHubClient.parseDate(startedAt);
|
||||
}
|
||||
|
||||
/**
|
||||
* When was this job completed?
|
||||
*
|
||||
* @return completion date
|
||||
*/
|
||||
public Date getCompletedAt() {
|
||||
return GitHubClient.parseDate(completedAt);
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets status of the job.
|
||||
* <p>
|
||||
* Can be {@code UNKNOWN} if the value returned by GitHub is unknown from the API.
|
||||
*
|
||||
* @return status of the job
|
||||
*/
|
||||
public Status getStatus() {
|
||||
return Status.from(status);
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the conclusion of the job.
|
||||
* <p>
|
||||
* Can be {@code UNKNOWN} if the value returned by GitHub is unknown from the API.
|
||||
*
|
||||
* @return conclusion of the job
|
||||
*/
|
||||
public Conclusion getConclusion() {
|
||||
return Conclusion.from(conclusion);
|
||||
}
|
||||
|
||||
/**
|
||||
* The run id.
|
||||
*
|
||||
* @return the run id
|
||||
*/
|
||||
public long getRunId() {
|
||||
return runId;
|
||||
}
|
||||
|
||||
@Override
|
||||
public URL getHtmlUrl() {
|
||||
return GitHubClient.parseURL(htmlUrl);
|
||||
}
|
||||
|
||||
/**
|
||||
* The check run URL.
|
||||
*
|
||||
* @return the check run url
|
||||
*/
|
||||
public URL getCheckRunUrl() {
|
||||
return GitHubClient.parseURL(checkRunUrl);
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the execution steps of this job.
|
||||
*
|
||||
* @return the execution steps
|
||||
*/
|
||||
public List<Step> getSteps() {
|
||||
return steps;
|
||||
}
|
||||
|
||||
/**
|
||||
* Repository to which the job belongs.
|
||||
*
|
||||
* @return the repository
|
||||
*/
|
||||
public GHRepository getRepository() {
|
||||
return owner;
|
||||
}
|
||||
|
||||
/**
|
||||
* Downloads the logs.
|
||||
* <p>
|
||||
* The logs are returned as a text file.
|
||||
*
|
||||
* @param <T>
|
||||
* the type of result
|
||||
* @param streamFunction
|
||||
* The {@link InputStreamFunction} that will process the stream
|
||||
* @throws IOException
|
||||
* The IO exception.
|
||||
* @return the result of reading the stream.
|
||||
*/
|
||||
public <T> T downloadLogs(InputStreamFunction<T> streamFunction) throws IOException {
|
||||
requireNonNull(streamFunction, "Stream function must not be null");
|
||||
|
||||
return root.createRequest().method("GET").withUrlPath(getApiRoute(), "logs").fetchStream(streamFunction);
|
||||
}
|
||||
|
||||
private String getApiRoute() {
|
||||
if (owner == null) {
|
||||
// Workflow runs returned from search to do not have an owner. Attempt to use url.
|
||||
final URL url = Objects.requireNonNull(getUrl(), "Missing instance URL!");
|
||||
return StringUtils.prependIfMissing(url.toString().replace(root.getApiUrl(), ""), "/");
|
||||
|
||||
}
|
||||
return "/repos/" + owner.getOwnerName() + "/" + owner.getName() + "/actions/jobs/" + getId();
|
||||
}
|
||||
|
||||
GHWorkflowRunJob wrapUp(GHRepository owner) {
|
||||
this.owner = owner;
|
||||
return wrapUp(owner.root);
|
||||
}
|
||||
|
||||
GHWorkflowRunJob wrapUp(GitHub root) {
|
||||
this.root = root;
|
||||
if (owner != null) {
|
||||
owner.wrap(root);
|
||||
}
|
||||
return this;
|
||||
}
|
||||
|
||||
public static class Step {
|
||||
|
||||
private String name;
|
||||
private int number;
|
||||
|
||||
private String startedAt;
|
||||
private String completedAt;
|
||||
|
||||
private String status;
|
||||
private String conclusion;
|
||||
|
||||
/**
|
||||
* Gets the name of the step.
|
||||
*
|
||||
* @return name
|
||||
*/
|
||||
public String getName() {
|
||||
return name;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the sequential number of the step.
|
||||
*
|
||||
* @return number
|
||||
*/
|
||||
public int getNumber() {
|
||||
return number;
|
||||
}
|
||||
|
||||
/**
|
||||
* When was this step started?
|
||||
*
|
||||
* @return start date
|
||||
*/
|
||||
public Date getStartedAt() {
|
||||
return GitHubClient.parseDate(startedAt);
|
||||
}
|
||||
|
||||
/**
|
||||
* When was this step completed?
|
||||
*
|
||||
* @return completion date
|
||||
*/
|
||||
public Date getCompletedAt() {
|
||||
return GitHubClient.parseDate(completedAt);
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets status of the step.
|
||||
* <p>
|
||||
* Can be {@code UNKNOWN} if the value returned by GitHub is unknown from the API.
|
||||
*
|
||||
* @return status of the step
|
||||
*/
|
||||
public Status getStatus() {
|
||||
return Status.from(status);
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the conclusion of the step.
|
||||
* <p>
|
||||
* Can be {@code UNKNOWN} if the value returned by GitHub is unknown from the API.
|
||||
*
|
||||
* @return conclusion of the step
|
||||
*/
|
||||
public Conclusion getConclusion() {
|
||||
return Conclusion.from(conclusion);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,47 @@
|
||||
package org.kohsuke.github;
|
||||
|
||||
import java.net.MalformedURLException;
|
||||
|
||||
/**
|
||||
* Lists up jobs of a workflow run with some filtering.
|
||||
*
|
||||
* @author Guillaume Smet
|
||||
*/
|
||||
public class GHWorkflowRunJobQueryBuilder extends GHQueryBuilder<GHWorkflowRunJob> {
|
||||
private final GHRepository repo;
|
||||
|
||||
GHWorkflowRunJobQueryBuilder(GHWorkflowRun workflowRun) {
|
||||
super(workflowRun.getRepository().root);
|
||||
this.repo = workflowRun.getRepository();
|
||||
req.withUrlPath(repo.getApiTailUrl("actions/runs"), String.valueOf(workflowRun.getId()), "jobs");
|
||||
}
|
||||
|
||||
/**
|
||||
* Apply a filter to only return the jobs of the most recent execution of the workflow run.
|
||||
*
|
||||
* @return the workflow run job query builder
|
||||
*/
|
||||
public GHWorkflowRunJobQueryBuilder latest() {
|
||||
req.with("filter", "latest");
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Apply a filter to return jobs from all executions of this workflow run.
|
||||
*
|
||||
* @return the workflow run job run query builder
|
||||
*/
|
||||
public GHWorkflowRunJobQueryBuilder all() {
|
||||
req.with("filter", "all");
|
||||
return this;
|
||||
}
|
||||
|
||||
@Override
|
||||
public PagedIterable<GHWorkflowRunJob> list() {
|
||||
try {
|
||||
return new GHWorkflowRunJobsIterable(repo, req.build());
|
||||
} catch (MalformedURLException e) {
|
||||
throw new GHException(e.getMessage(), e);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,44 @@
|
||||
package org.kohsuke.github;
|
||||
|
||||
import java.util.Iterator;
|
||||
|
||||
import javax.annotation.Nonnull;
|
||||
|
||||
/**
|
||||
* Iterable for workflow run jobs listing.
|
||||
*/
|
||||
class GHWorkflowRunJobsIterable extends PagedIterable<GHWorkflowRunJob> {
|
||||
private final GHRepository repo;
|
||||
private final GitHubRequest request;
|
||||
|
||||
private GHWorkflowRunJobsPage result;
|
||||
|
||||
public GHWorkflowRunJobsIterable(GHRepository repo, GitHubRequest request) {
|
||||
this.repo = repo;
|
||||
this.request = request;
|
||||
}
|
||||
|
||||
@Nonnull
|
||||
@Override
|
||||
public PagedIterator<GHWorkflowRunJob> _iterator(int pageSize) {
|
||||
return new PagedIterator<>(
|
||||
adapt(GitHubPageIterator.create(repo.root.getClient(), GHWorkflowRunJobsPage.class, request, pageSize)),
|
||||
null);
|
||||
}
|
||||
|
||||
protected Iterator<GHWorkflowRunJob[]> adapt(final Iterator<GHWorkflowRunJobsPage> base) {
|
||||
return new Iterator<GHWorkflowRunJob[]>() {
|
||||
public boolean hasNext() {
|
||||
return base.hasNext();
|
||||
}
|
||||
|
||||
public GHWorkflowRunJob[] next() {
|
||||
GHWorkflowRunJobsPage v = base.next();
|
||||
if (result == null) {
|
||||
result = v;
|
||||
}
|
||||
return v.getWorkflowRunJobs(repo);
|
||||
}
|
||||
};
|
||||
}
|
||||
}
|
||||
20
src/main/java/org/kohsuke/github/GHWorkflowRunJobsPage.java
Normal file
20
src/main/java/org/kohsuke/github/GHWorkflowRunJobsPage.java
Normal file
@@ -0,0 +1,20 @@
|
||||
package org.kohsuke.github;
|
||||
|
||||
/**
|
||||
* Represents the one page of jobs result when listing jobs from a workflow run.
|
||||
*/
|
||||
class GHWorkflowRunJobsPage {
|
||||
private int total_count;
|
||||
private GHWorkflowRunJob[] jobs;
|
||||
|
||||
public int getTotalCount() {
|
||||
return total_count;
|
||||
}
|
||||
|
||||
GHWorkflowRunJob[] getWorkflowRunJobs(GHRepository repo) {
|
||||
for (GHWorkflowRunJob job : jobs) {
|
||||
job.wrapUp(repo);
|
||||
}
|
||||
return jobs;
|
||||
}
|
||||
}
|
||||
@@ -6,6 +6,8 @@ import org.junit.Before;
|
||||
import org.junit.Test;
|
||||
import org.kohsuke.github.GHWorkflowRun.Conclusion;
|
||||
import org.kohsuke.github.GHWorkflowRun.Status;
|
||||
import org.kohsuke.github.GHWorkflowRunJob.Step;
|
||||
import org.kohsuke.github.function.InputStreamFunction;
|
||||
|
||||
import java.io.IOException;
|
||||
import java.time.Duration;
|
||||
@@ -14,10 +16,14 @@ import java.util.List;
|
||||
import java.util.Optional;
|
||||
import java.util.Scanner;
|
||||
import java.util.function.Function;
|
||||
import java.util.stream.Collectors;
|
||||
import java.util.zip.ZipEntry;
|
||||
import java.util.zip.ZipInputStream;
|
||||
|
||||
import static org.hamcrest.Matchers.*;
|
||||
import static org.hamcrest.Matchers.containsString;
|
||||
import static org.hamcrest.Matchers.greaterThan;
|
||||
import static org.hamcrest.Matchers.hasItems;
|
||||
import static org.hamcrest.Matchers.is;
|
||||
|
||||
public class GHWorkflowRunTest extends AbstractGitHubWireMockTest {
|
||||
|
||||
@@ -34,6 +40,10 @@ public class GHWorkflowRunTest extends AbstractGitHubWireMockTest {
|
||||
private static final String ARTIFACTS_WORKFLOW_PATH = "artifacts-workflow.yml";
|
||||
private static final String ARTIFACTS_WORKFLOW_NAME = "Artifacts workflow";
|
||||
|
||||
private static final String MULTI_JOBS_WORKFLOW_PATH = "multi-jobs-workflow.yml";
|
||||
private static final String MULTI_JOBS_WORKFLOW_NAME = "Multi jobs workflow";
|
||||
private static final String RUN_A_ONE_LINE_SCRIPT_STEP_NAME = "Run a one-line script";
|
||||
|
||||
private GHRepository repo;
|
||||
|
||||
@Before
|
||||
@@ -191,7 +201,6 @@ public class GHWorkflowRunTest extends AbstractGitHubWireMockTest {
|
||||
}
|
||||
|
||||
@Test
|
||||
@SuppressWarnings("resource")
|
||||
public void testLogs() throws IOException {
|
||||
GHWorkflow workflow = repo.getWorkflow(FAST_WORKFLOW_PATH);
|
||||
|
||||
@@ -212,25 +221,8 @@ public class GHWorkflowRunTest extends AbstractGitHubWireMockTest {
|
||||
() -> new IllegalStateException("We must have a valid workflow run starting from here"));
|
||||
|
||||
List<String> logsArchiveEntries = new ArrayList<>();
|
||||
String fullLogContent = workflowRun.downloadLogs((is) -> {
|
||||
try (ZipInputStream zis = new ZipInputStream(is)) {
|
||||
StringBuilder sb = new StringBuilder();
|
||||
|
||||
ZipEntry ze;
|
||||
while ((ze = zis.getNextEntry()) != null) {
|
||||
logsArchiveEntries.add(ze.getName());
|
||||
if ("1_build.txt".equals(ze.getName())) {
|
||||
// the scanner has to be kept open to avoid closing zis
|
||||
Scanner scanner = new Scanner(zis);
|
||||
while (scanner.hasNextLine()) {
|
||||
sb.append(scanner.nextLine()).append("\n");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
return sb.toString();
|
||||
}
|
||||
});
|
||||
String fullLogContent = workflowRun
|
||||
.downloadLogs(getLogArchiveInputStreamFunction("1_build.txt", logsArchiveEntries));
|
||||
|
||||
assertThat(logsArchiveEntries, hasItems("1_build.txt", "build/9_Complete job.txt"));
|
||||
assertThat(fullLogContent, containsString("Hello, world!"));
|
||||
@@ -326,6 +318,51 @@ public class GHWorkflowRunTest extends AbstractGitHubWireMockTest {
|
||||
}
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testJobs() throws IOException {
|
||||
GHWorkflow workflow = repo.getWorkflow(MULTI_JOBS_WORKFLOW_PATH);
|
||||
|
||||
long latestPreexistingWorkflowRunId = getLatestPreexistingWorkflowRunId();
|
||||
|
||||
workflow.dispatch(MAIN_BRANCH);
|
||||
|
||||
await((nonRecordingRepo) -> getWorkflowRun(nonRecordingRepo,
|
||||
MULTI_JOBS_WORKFLOW_NAME,
|
||||
MAIN_BRANCH,
|
||||
Status.COMPLETED,
|
||||
latestPreexistingWorkflowRunId).isPresent());
|
||||
|
||||
GHWorkflowRun workflowRun = getWorkflowRun(MULTI_JOBS_WORKFLOW_NAME,
|
||||
MAIN_BRANCH,
|
||||
Status.COMPLETED,
|
||||
latestPreexistingWorkflowRunId).orElseThrow(
|
||||
() -> new IllegalStateException("We must have a valid workflow run starting from here"));
|
||||
|
||||
List<GHWorkflowRunJob> jobs = workflowRun.queryJobs()
|
||||
.latest()
|
||||
.list()
|
||||
.toList()
|
||||
.stream()
|
||||
.sorted((j1, j2) -> j1.getName().compareTo(j2.getName()))
|
||||
.collect(Collectors.toList());
|
||||
|
||||
assertThat(jobs.size(), is(2));
|
||||
|
||||
GHWorkflowRunJob job1 = jobs.get(0);
|
||||
checkJobProperties(workflowRun.getId(), job1, "job1");
|
||||
String fullLogContent = job1.downloadLogs(getLogTextInputStreamFunction());
|
||||
assertThat(fullLogContent, containsString("Hello from job1!"));
|
||||
|
||||
GHWorkflowRunJob job2 = jobs.get(1);
|
||||
checkJobProperties(workflowRun.getId(), job2, "job2");
|
||||
fullLogContent = job2.downloadLogs(getLogTextInputStreamFunction());
|
||||
assertThat(fullLogContent, containsString("Hello from job2!"));
|
||||
|
||||
// while we have a job around, test GHRepository#getWorkflowRunJob(id)
|
||||
GHWorkflowRunJob job1ById = repo.getWorkflowRunJob(job1.getId());
|
||||
checkJobProperties(workflowRun.getId(), job1ById, "job1");
|
||||
}
|
||||
|
||||
private void await(Function<GHRepository, Boolean> condition) throws IOException {
|
||||
if (!mockGitHub.isUseProxy()) {
|
||||
return;
|
||||
@@ -379,6 +416,42 @@ public class GHWorkflowRunTest extends AbstractGitHubWireMockTest {
|
||||
}
|
||||
}
|
||||
|
||||
@SuppressWarnings("resource")
|
||||
private static InputStreamFunction<String> getLogArchiveInputStreamFunction(String mainLogFileName,
|
||||
List<String> logsArchiveEntries) {
|
||||
return (is) -> {
|
||||
try (ZipInputStream zis = new ZipInputStream(is)) {
|
||||
StringBuilder sb = new StringBuilder();
|
||||
|
||||
ZipEntry ze;
|
||||
while ((ze = zis.getNextEntry()) != null) {
|
||||
logsArchiveEntries.add(ze.getName());
|
||||
if (mainLogFileName.equals(ze.getName())) {
|
||||
// the scanner has to be kept open to avoid closing zis
|
||||
Scanner scanner = new Scanner(zis);
|
||||
while (scanner.hasNextLine()) {
|
||||
sb.append(scanner.nextLine()).append("\n");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
return sb.toString();
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
@SuppressWarnings("resource")
|
||||
private static InputStreamFunction<String> getLogTextInputStreamFunction() {
|
||||
return (is) -> {
|
||||
StringBuilder sb = new StringBuilder();
|
||||
Scanner scanner = new Scanner(is);
|
||||
while (scanner.hasNextLine()) {
|
||||
sb.append(scanner.nextLine()).append("\n");
|
||||
}
|
||||
return sb.toString();
|
||||
};
|
||||
}
|
||||
|
||||
private static void checkArtifactProperties(GHArtifact artifact, String artifactName) throws IOException {
|
||||
assertNotNull(artifact.getId());
|
||||
assertNotNull(artifact.getNodeId());
|
||||
@@ -391,4 +464,41 @@ public class GHWorkflowRunTest extends AbstractGitHubWireMockTest {
|
||||
assertThat(artifact.getSizeInBytes(), greaterThan(0L));
|
||||
assertFalse(artifact.isExpired());
|
||||
}
|
||||
|
||||
private static void checkJobProperties(long workflowRunId, GHWorkflowRunJob job, String jobName)
|
||||
throws IOException {
|
||||
assertNotNull(job.getId());
|
||||
assertNotNull(job.getNodeId());
|
||||
assertEquals(REPO_NAME, job.getRepository().getFullName());
|
||||
assertThat(job.getName(), is(jobName));
|
||||
assertNotNull(job.getStartedAt());
|
||||
assertNotNull(job.getCompletedAt());
|
||||
assertNotNull(job.getHeadSha());
|
||||
assertThat(job.getStatus(), is(Status.COMPLETED));
|
||||
assertThat(job.getConclusion(), is(Conclusion.SUCCESS));
|
||||
assertThat(job.getRunId(), is(workflowRunId));
|
||||
assertThat(job.getUrl().getPath(), containsString("/actions/jobs/"));
|
||||
assertThat(job.getHtmlUrl().getPath(), containsString("/runs/" + job.getId()));
|
||||
assertThat(job.getCheckRunUrl().getPath(), containsString("/check-runs/"));
|
||||
|
||||
// we only test the step we have control over, the others are added by GitHub
|
||||
Optional<Step> step = job.getSteps()
|
||||
.stream()
|
||||
.filter(s -> RUN_A_ONE_LINE_SCRIPT_STEP_NAME.equals(s.getName()))
|
||||
.findFirst();
|
||||
if (!step.isPresent()) {
|
||||
fail("Unable to find " + RUN_A_ONE_LINE_SCRIPT_STEP_NAME + " step");
|
||||
}
|
||||
|
||||
checkStepProperties(step.get(), RUN_A_ONE_LINE_SCRIPT_STEP_NAME, 2);
|
||||
}
|
||||
|
||||
private static void checkStepProperties(Step step, String name, int number) {
|
||||
assertThat(step.getName(), is(name));
|
||||
assertThat(step.getNumber(), is(number));
|
||||
assertThat(step.getStatus(), is(Status.COMPLETED));
|
||||
assertThat(step.getConclusion(), is(Conclusion.SUCCESS));
|
||||
assertNotNull(step.getStartedAt());
|
||||
assertNotNull(step.getCompletedAt());
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,126 @@
|
||||
{
|
||||
"id": 348674220,
|
||||
"node_id": "MDEwOlJlcG9zaXRvcnkzNDg2NzQyMjA=",
|
||||
"name": "GHWorkflowRunTest",
|
||||
"full_name": "hub4j-test-org/GHWorkflowRunTest",
|
||||
"private": false,
|
||||
"owner": {
|
||||
"login": "hub4j-test-org",
|
||||
"id": 7544739,
|
||||
"node_id": "MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=",
|
||||
"avatar_url": "https://avatars.githubusercontent.com/u/7544739?v=4",
|
||||
"gravatar_id": "",
|
||||
"url": "https://api.github.com/users/hub4j-test-org",
|
||||
"html_url": "https://github.com/hub4j-test-org",
|
||||
"followers_url": "https://api.github.com/users/hub4j-test-org/followers",
|
||||
"following_url": "https://api.github.com/users/hub4j-test-org/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/hub4j-test-org/gists{/gist_id}",
|
||||
"starred_url": "https://api.github.com/users/hub4j-test-org/starred{/owner}{/repo}",
|
||||
"subscriptions_url": "https://api.github.com/users/hub4j-test-org/subscriptions",
|
||||
"organizations_url": "https://api.github.com/users/hub4j-test-org/orgs",
|
||||
"repos_url": "https://api.github.com/users/hub4j-test-org/repos",
|
||||
"events_url": "https://api.github.com/users/hub4j-test-org/events{/privacy}",
|
||||
"received_events_url": "https://api.github.com/users/hub4j-test-org/received_events",
|
||||
"type": "Organization",
|
||||
"site_admin": false
|
||||
},
|
||||
"html_url": "https://github.com/hub4j-test-org/GHWorkflowRunTest",
|
||||
"description": "Repository used by GHWorkflowRunTest",
|
||||
"fork": false,
|
||||
"url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest",
|
||||
"forks_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/forks",
|
||||
"keys_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/keys{/key_id}",
|
||||
"collaborators_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/collaborators{/collaborator}",
|
||||
"teams_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/teams",
|
||||
"hooks_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/hooks",
|
||||
"issue_events_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/issues/events{/number}",
|
||||
"events_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/events",
|
||||
"assignees_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/assignees{/user}",
|
||||
"branches_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/branches{/branch}",
|
||||
"tags_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/tags",
|
||||
"blobs_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/git/blobs{/sha}",
|
||||
"git_tags_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/git/tags{/sha}",
|
||||
"git_refs_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/git/refs{/sha}",
|
||||
"trees_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/git/trees{/sha}",
|
||||
"statuses_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/statuses/{sha}",
|
||||
"languages_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/languages",
|
||||
"stargazers_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/stargazers",
|
||||
"contributors_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/contributors",
|
||||
"subscribers_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/subscribers",
|
||||
"subscription_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/subscription",
|
||||
"commits_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/commits{/sha}",
|
||||
"git_commits_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/git/commits{/sha}",
|
||||
"comments_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/comments{/number}",
|
||||
"issue_comment_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/issues/comments{/number}",
|
||||
"contents_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/contents/{+path}",
|
||||
"compare_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/compare/{base}...{head}",
|
||||
"merges_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/merges",
|
||||
"archive_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/{archive_format}{/ref}",
|
||||
"downloads_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/downloads",
|
||||
"issues_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/issues{/number}",
|
||||
"pulls_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/pulls{/number}",
|
||||
"milestones_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/milestones{/number}",
|
||||
"notifications_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/notifications{?since,all,participating}",
|
||||
"labels_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/labels{/name}",
|
||||
"releases_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/releases{/id}",
|
||||
"deployments_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/deployments",
|
||||
"created_at": "2021-03-17T10:50:49Z",
|
||||
"updated_at": "2021-04-05T12:08:00Z",
|
||||
"pushed_at": "2021-04-05T12:07:58Z",
|
||||
"git_url": "git://github.com/hub4j-test-org/GHWorkflowRunTest.git",
|
||||
"ssh_url": "git@github.com:hub4j-test-org/GHWorkflowRunTest.git",
|
||||
"clone_url": "https://github.com/hub4j-test-org/GHWorkflowRunTest.git",
|
||||
"svn_url": "https://github.com/hub4j-test-org/GHWorkflowRunTest",
|
||||
"homepage": null,
|
||||
"size": 7,
|
||||
"stargazers_count": 0,
|
||||
"watchers_count": 0,
|
||||
"language": null,
|
||||
"has_issues": true,
|
||||
"has_projects": true,
|
||||
"has_downloads": true,
|
||||
"has_wiki": true,
|
||||
"has_pages": false,
|
||||
"forks_count": 0,
|
||||
"mirror_url": null,
|
||||
"archived": false,
|
||||
"disabled": false,
|
||||
"open_issues_count": 7,
|
||||
"license": null,
|
||||
"forks": 0,
|
||||
"open_issues": 7,
|
||||
"watchers": 0,
|
||||
"default_branch": "main",
|
||||
"permissions": {
|
||||
"admin": true,
|
||||
"push": true,
|
||||
"pull": true
|
||||
},
|
||||
"temp_clone_token": "",
|
||||
"allow_squash_merge": true,
|
||||
"allow_merge_commit": true,
|
||||
"allow_rebase_merge": true,
|
||||
"delete_branch_on_merge": false,
|
||||
"organization": {
|
||||
"login": "hub4j-test-org",
|
||||
"id": 7544739,
|
||||
"node_id": "MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=",
|
||||
"avatar_url": "https://avatars.githubusercontent.com/u/7544739?v=4",
|
||||
"gravatar_id": "",
|
||||
"url": "https://api.github.com/users/hub4j-test-org",
|
||||
"html_url": "https://github.com/hub4j-test-org",
|
||||
"followers_url": "https://api.github.com/users/hub4j-test-org/followers",
|
||||
"following_url": "https://api.github.com/users/hub4j-test-org/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/hub4j-test-org/gists{/gist_id}",
|
||||
"starred_url": "https://api.github.com/users/hub4j-test-org/starred{/owner}{/repo}",
|
||||
"subscriptions_url": "https://api.github.com/users/hub4j-test-org/subscriptions",
|
||||
"organizations_url": "https://api.github.com/users/hub4j-test-org/orgs",
|
||||
"repos_url": "https://api.github.com/users/hub4j-test-org/repos",
|
||||
"events_url": "https://api.github.com/users/hub4j-test-org/events{/privacy}",
|
||||
"received_events_url": "https://api.github.com/users/hub4j-test-org/received_events",
|
||||
"type": "Organization",
|
||||
"site_admin": false
|
||||
},
|
||||
"network_count": 0,
|
||||
"subscribers_count": 9
|
||||
}
|
||||
@@ -0,0 +1,41 @@
|
||||
{
|
||||
"id": 2269946728,
|
||||
"run_id": 719290617,
|
||||
"run_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/actions/runs/719290617",
|
||||
"node_id": "MDg6Q2hlY2tSdW4yMjY5OTQ2NzI4",
|
||||
"head_sha": "c7bd3b8db871bbde8629275631ea645622ae89d7",
|
||||
"url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/actions/jobs/2269946728",
|
||||
"html_url": "https://github.com/hub4j-test-org/GHWorkflowRunTest/runs/2269946728",
|
||||
"status": "completed",
|
||||
"conclusion": "success",
|
||||
"started_at": "2021-04-05T13:14:37Z",
|
||||
"completed_at": "2021-04-05T13:14:38Z",
|
||||
"name": "job1",
|
||||
"steps": [
|
||||
{
|
||||
"name": "Set up job",
|
||||
"status": "completed",
|
||||
"conclusion": "success",
|
||||
"number": 1,
|
||||
"started_at": "2021-04-05T15:14:37.000+02:00",
|
||||
"completed_at": "2021-04-05T15:14:37.000+02:00"
|
||||
},
|
||||
{
|
||||
"name": "Run a one-line script",
|
||||
"status": "completed",
|
||||
"conclusion": "success",
|
||||
"number": 2,
|
||||
"started_at": "2021-04-05T15:14:37.000+02:00",
|
||||
"completed_at": "2021-04-05T15:14:38.000+02:00"
|
||||
},
|
||||
{
|
||||
"name": "Complete job",
|
||||
"status": "completed",
|
||||
"conclusion": "success",
|
||||
"number": 3,
|
||||
"started_at": "2021-04-05T15:14:38.000+02:00",
|
||||
"completed_at": "2021-04-05T15:14:38.000+02:00"
|
||||
}
|
||||
],
|
||||
"check_run_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/check-runs/2269946728"
|
||||
}
|
||||
@@ -0,0 +1,179 @@
|
||||
{
|
||||
"total_count": 111,
|
||||
"workflow_runs": [
|
||||
{
|
||||
"id": 719256201,
|
||||
"name": "Multi jobs workflow",
|
||||
"node_id": "MDExOldvcmtmbG93UnVuNzE5MjU2MjAx",
|
||||
"head_branch": "main",
|
||||
"head_sha": "c7bd3b8db871bbde8629275631ea645622ae89d7",
|
||||
"run_number": 11,
|
||||
"event": "workflow_dispatch",
|
||||
"status": "completed",
|
||||
"conclusion": "success",
|
||||
"workflow_id": 7518893,
|
||||
"check_suite_id": 2421886985,
|
||||
"check_suite_node_id": "MDEwOkNoZWNrU3VpdGUyNDIxODg2OTg1",
|
||||
"url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/actions/runs/719256201",
|
||||
"html_url": "https://github.com/hub4j-test-org/GHWorkflowRunTest/actions/runs/719256201",
|
||||
"pull_requests": [],
|
||||
"created_at": "2021-04-05T13:00:01Z",
|
||||
"updated_at": "2021-04-05T13:00:17Z",
|
||||
"jobs_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/actions/runs/719256201/jobs",
|
||||
"logs_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/actions/runs/719256201/logs",
|
||||
"check_suite_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/check-suites/2421886985",
|
||||
"artifacts_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/actions/runs/719256201/artifacts",
|
||||
"cancel_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/actions/runs/719256201/cancel",
|
||||
"rerun_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/actions/runs/719256201/rerun",
|
||||
"workflow_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/actions/workflows/7518893",
|
||||
"head_commit": {
|
||||
"id": "c7bd3b8db871bbde8629275631ea645622ae89d7",
|
||||
"tree_id": "461cd7cdbb233b2959f53957816f80e230bb29f0",
|
||||
"message": "Create multi-jobs-workflow.yml",
|
||||
"timestamp": "2021-04-05T12:07:58Z",
|
||||
"author": {
|
||||
"name": "Guillaume Smet",
|
||||
"email": "guillaume.smet@gmail.com"
|
||||
},
|
||||
"committer": {
|
||||
"name": "GitHub",
|
||||
"email": "noreply@github.com"
|
||||
}
|
||||
},
|
||||
"repository": {
|
||||
"id": 348674220,
|
||||
"node_id": "MDEwOlJlcG9zaXRvcnkzNDg2NzQyMjA=",
|
||||
"name": "GHWorkflowRunTest",
|
||||
"full_name": "hub4j-test-org/GHWorkflowRunTest",
|
||||
"private": false,
|
||||
"owner": {
|
||||
"login": "hub4j-test-org",
|
||||
"id": 7544739,
|
||||
"node_id": "MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=",
|
||||
"avatar_url": "https://avatars.githubusercontent.com/u/7544739?v=4",
|
||||
"gravatar_id": "",
|
||||
"url": "https://api.github.com/users/hub4j-test-org",
|
||||
"html_url": "https://github.com/hub4j-test-org",
|
||||
"followers_url": "https://api.github.com/users/hub4j-test-org/followers",
|
||||
"following_url": "https://api.github.com/users/hub4j-test-org/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/hub4j-test-org/gists{/gist_id}",
|
||||
"starred_url": "https://api.github.com/users/hub4j-test-org/starred{/owner}{/repo}",
|
||||
"subscriptions_url": "https://api.github.com/users/hub4j-test-org/subscriptions",
|
||||
"organizations_url": "https://api.github.com/users/hub4j-test-org/orgs",
|
||||
"repos_url": "https://api.github.com/users/hub4j-test-org/repos",
|
||||
"events_url": "https://api.github.com/users/hub4j-test-org/events{/privacy}",
|
||||
"received_events_url": "https://api.github.com/users/hub4j-test-org/received_events",
|
||||
"type": "Organization",
|
||||
"site_admin": false
|
||||
},
|
||||
"html_url": "https://github.com/hub4j-test-org/GHWorkflowRunTest",
|
||||
"description": "Repository used by GHWorkflowRunTest",
|
||||
"fork": false,
|
||||
"url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest",
|
||||
"forks_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/forks",
|
||||
"keys_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/keys{/key_id}",
|
||||
"collaborators_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/collaborators{/collaborator}",
|
||||
"teams_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/teams",
|
||||
"hooks_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/hooks",
|
||||
"issue_events_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/issues/events{/number}",
|
||||
"events_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/events",
|
||||
"assignees_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/assignees{/user}",
|
||||
"branches_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/branches{/branch}",
|
||||
"tags_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/tags",
|
||||
"blobs_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/git/blobs{/sha}",
|
||||
"git_tags_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/git/tags{/sha}",
|
||||
"git_refs_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/git/refs{/sha}",
|
||||
"trees_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/git/trees{/sha}",
|
||||
"statuses_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/statuses/{sha}",
|
||||
"languages_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/languages",
|
||||
"stargazers_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/stargazers",
|
||||
"contributors_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/contributors",
|
||||
"subscribers_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/subscribers",
|
||||
"subscription_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/subscription",
|
||||
"commits_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/commits{/sha}",
|
||||
"git_commits_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/git/commits{/sha}",
|
||||
"comments_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/comments{/number}",
|
||||
"issue_comment_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/issues/comments{/number}",
|
||||
"contents_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/contents/{+path}",
|
||||
"compare_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/compare/{base}...{head}",
|
||||
"merges_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/merges",
|
||||
"archive_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/{archive_format}{/ref}",
|
||||
"downloads_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/downloads",
|
||||
"issues_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/issues{/number}",
|
||||
"pulls_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/pulls{/number}",
|
||||
"milestones_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/milestones{/number}",
|
||||
"notifications_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/notifications{?since,all,participating}",
|
||||
"labels_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/labels{/name}",
|
||||
"releases_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/releases{/id}",
|
||||
"deployments_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/deployments"
|
||||
},
|
||||
"head_repository": {
|
||||
"id": 348674220,
|
||||
"node_id": "MDEwOlJlcG9zaXRvcnkzNDg2NzQyMjA=",
|
||||
"name": "GHWorkflowRunTest",
|
||||
"full_name": "hub4j-test-org/GHWorkflowRunTest",
|
||||
"private": false,
|
||||
"owner": {
|
||||
"login": "hub4j-test-org",
|
||||
"id": 7544739,
|
||||
"node_id": "MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=",
|
||||
"avatar_url": "https://avatars.githubusercontent.com/u/7544739?v=4",
|
||||
"gravatar_id": "",
|
||||
"url": "https://api.github.com/users/hub4j-test-org",
|
||||
"html_url": "https://github.com/hub4j-test-org",
|
||||
"followers_url": "https://api.github.com/users/hub4j-test-org/followers",
|
||||
"following_url": "https://api.github.com/users/hub4j-test-org/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/hub4j-test-org/gists{/gist_id}",
|
||||
"starred_url": "https://api.github.com/users/hub4j-test-org/starred{/owner}{/repo}",
|
||||
"subscriptions_url": "https://api.github.com/users/hub4j-test-org/subscriptions",
|
||||
"organizations_url": "https://api.github.com/users/hub4j-test-org/orgs",
|
||||
"repos_url": "https://api.github.com/users/hub4j-test-org/repos",
|
||||
"events_url": "https://api.github.com/users/hub4j-test-org/events{/privacy}",
|
||||
"received_events_url": "https://api.github.com/users/hub4j-test-org/received_events",
|
||||
"type": "Organization",
|
||||
"site_admin": false
|
||||
},
|
||||
"html_url": "https://github.com/hub4j-test-org/GHWorkflowRunTest",
|
||||
"description": "Repository used by GHWorkflowRunTest",
|
||||
"fork": false,
|
||||
"url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest",
|
||||
"forks_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/forks",
|
||||
"keys_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/keys{/key_id}",
|
||||
"collaborators_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/collaborators{/collaborator}",
|
||||
"teams_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/teams",
|
||||
"hooks_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/hooks",
|
||||
"issue_events_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/issues/events{/number}",
|
||||
"events_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/events",
|
||||
"assignees_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/assignees{/user}",
|
||||
"branches_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/branches{/branch}",
|
||||
"tags_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/tags",
|
||||
"blobs_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/git/blobs{/sha}",
|
||||
"git_tags_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/git/tags{/sha}",
|
||||
"git_refs_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/git/refs{/sha}",
|
||||
"trees_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/git/trees{/sha}",
|
||||
"statuses_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/statuses/{sha}",
|
||||
"languages_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/languages",
|
||||
"stargazers_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/stargazers",
|
||||
"contributors_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/contributors",
|
||||
"subscribers_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/subscribers",
|
||||
"subscription_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/subscription",
|
||||
"commits_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/commits{/sha}",
|
||||
"git_commits_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/git/commits{/sha}",
|
||||
"comments_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/comments{/number}",
|
||||
"issue_comment_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/issues/comments{/number}",
|
||||
"contents_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/contents/{+path}",
|
||||
"compare_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/compare/{base}...{head}",
|
||||
"merges_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/merges",
|
||||
"archive_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/{archive_format}{/ref}",
|
||||
"downloads_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/downloads",
|
||||
"issues_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/issues{/number}",
|
||||
"pulls_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/pulls{/number}",
|
||||
"milestones_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/milestones{/number}",
|
||||
"notifications_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/notifications{?since,all,participating}",
|
||||
"labels_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/labels{/name}",
|
||||
"releases_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/releases{/id}",
|
||||
"deployments_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/deployments"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,87 @@
|
||||
{
|
||||
"total_count": 2,
|
||||
"jobs": [
|
||||
{
|
||||
"id": 2269946665,
|
||||
"run_id": 719290617,
|
||||
"run_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/actions/runs/719290617",
|
||||
"node_id": "MDg6Q2hlY2tSdW4yMjY5OTQ2NjY1",
|
||||
"head_sha": "c7bd3b8db871bbde8629275631ea645622ae89d7",
|
||||
"url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/actions/jobs/2269946665",
|
||||
"html_url": "https://github.com/hub4j-test-org/GHWorkflowRunTest/runs/2269946665",
|
||||
"status": "completed",
|
||||
"conclusion": "success",
|
||||
"started_at": "2021-04-05T13:14:38Z",
|
||||
"completed_at": "2021-04-05T13:14:39Z",
|
||||
"name": "job2",
|
||||
"steps": [
|
||||
{
|
||||
"name": "Set up job",
|
||||
"status": "completed",
|
||||
"conclusion": "success",
|
||||
"number": 1,
|
||||
"started_at": "2021-04-05T15:14:38.000+02:00",
|
||||
"completed_at": "2021-04-05T15:14:38.000+02:00"
|
||||
},
|
||||
{
|
||||
"name": "Run a one-line script",
|
||||
"status": "completed",
|
||||
"conclusion": "success",
|
||||
"number": 2,
|
||||
"started_at": "2021-04-05T15:14:38.000+02:00",
|
||||
"completed_at": "2021-04-05T15:14:39.000+02:00"
|
||||
},
|
||||
{
|
||||
"name": "Complete job",
|
||||
"status": "completed",
|
||||
"conclusion": "success",
|
||||
"number": 3,
|
||||
"started_at": "2021-04-05T15:14:39.000+02:00",
|
||||
"completed_at": "2021-04-05T15:14:39.000+02:00"
|
||||
}
|
||||
],
|
||||
"check_run_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/check-runs/2269946665"
|
||||
},
|
||||
{
|
||||
"id": 2269946728,
|
||||
"run_id": 719290617,
|
||||
"run_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/actions/runs/719290617",
|
||||
"node_id": "MDg6Q2hlY2tSdW4yMjY5OTQ2NzI4",
|
||||
"head_sha": "c7bd3b8db871bbde8629275631ea645622ae89d7",
|
||||
"url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/actions/jobs/2269946728",
|
||||
"html_url": "https://github.com/hub4j-test-org/GHWorkflowRunTest/runs/2269946728",
|
||||
"status": "completed",
|
||||
"conclusion": "success",
|
||||
"started_at": "2021-04-05T13:14:37Z",
|
||||
"completed_at": "2021-04-05T13:14:38Z",
|
||||
"name": "job1",
|
||||
"steps": [
|
||||
{
|
||||
"name": "Set up job",
|
||||
"status": "completed",
|
||||
"conclusion": "success",
|
||||
"number": 1,
|
||||
"started_at": "2021-04-05T15:14:37.000+02:00",
|
||||
"completed_at": "2021-04-05T15:14:37.000+02:00"
|
||||
},
|
||||
{
|
||||
"name": "Run a one-line script",
|
||||
"status": "completed",
|
||||
"conclusion": "success",
|
||||
"number": 2,
|
||||
"started_at": "2021-04-05T15:14:37.000+02:00",
|
||||
"completed_at": "2021-04-05T15:14:38.000+02:00"
|
||||
},
|
||||
{
|
||||
"name": "Complete job",
|
||||
"status": "completed",
|
||||
"conclusion": "success",
|
||||
"number": 3,
|
||||
"started_at": "2021-04-05T15:14:38.000+02:00",
|
||||
"completed_at": "2021-04-05T15:14:38.000+02:00"
|
||||
}
|
||||
],
|
||||
"check_run_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/check-runs/2269946728"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
{
|
||||
"id": 7518893,
|
||||
"node_id": "MDg6V29ya2Zsb3c3NTE4ODkz",
|
||||
"name": "Multi jobs workflow",
|
||||
"path": ".github/workflows/multi-jobs-workflow.yml",
|
||||
"state": "active",
|
||||
"created_at": "2021-04-05T14:07:59.000+02:00",
|
||||
"updated_at": "2021-04-05T14:07:59.000+02:00",
|
||||
"url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/actions/workflows/7518893",
|
||||
"html_url": "https://github.com/hub4j-test-org/GHWorkflowRunTest/blob/main/.github/workflows/multi-jobs-workflow.yml",
|
||||
"badge_url": "https://github.com/hub4j-test-org/GHWorkflowRunTest/workflows/Multi%20jobs%20workflow/badge.svg"
|
||||
}
|
||||
@@ -0,0 +1,46 @@
|
||||
{
|
||||
"login": "gsmet",
|
||||
"id": 1279749,
|
||||
"node_id": "MDQ6VXNlcjEyNzk3NDk=",
|
||||
"avatar_url": "https://avatars.githubusercontent.com/u/1279749?v=4",
|
||||
"gravatar_id": "",
|
||||
"url": "https://api.github.com/users/gsmet",
|
||||
"html_url": "https://github.com/gsmet",
|
||||
"followers_url": "https://api.github.com/users/gsmet/followers",
|
||||
"following_url": "https://api.github.com/users/gsmet/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/gsmet/gists{/gist_id}",
|
||||
"starred_url": "https://api.github.com/users/gsmet/starred{/owner}{/repo}",
|
||||
"subscriptions_url": "https://api.github.com/users/gsmet/subscriptions",
|
||||
"organizations_url": "https://api.github.com/users/gsmet/orgs",
|
||||
"repos_url": "https://api.github.com/users/gsmet/repos",
|
||||
"events_url": "https://api.github.com/users/gsmet/events{/privacy}",
|
||||
"received_events_url": "https://api.github.com/users/gsmet/received_events",
|
||||
"type": "User",
|
||||
"site_admin": false,
|
||||
"name": "Guillaume Smet",
|
||||
"company": "Red Hat",
|
||||
"blog": "https://www.redhat.com/",
|
||||
"location": "Lyon, France",
|
||||
"email": "guillaume.smet@gmail.com",
|
||||
"hireable": null,
|
||||
"bio": "Happy camper at Red Hat, working on Quarkus and the Hibernate portfolio.",
|
||||
"twitter_username": "gsmet_",
|
||||
"public_repos": 103,
|
||||
"public_gists": 14,
|
||||
"followers": 126,
|
||||
"following": 3,
|
||||
"created_at": "2011-12-22T11:03:22Z",
|
||||
"updated_at": "2021-04-04T11:26:23Z",
|
||||
"private_gists": 14,
|
||||
"total_private_repos": 4,
|
||||
"owned_private_repos": 1,
|
||||
"disk_usage": 68272,
|
||||
"collaborators": 1,
|
||||
"two_factor_authentication": true,
|
||||
"plan": {
|
||||
"name": "free",
|
||||
"space": 976562499,
|
||||
"collaborators": 0,
|
||||
"private_repos": 10000
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,46 @@
|
||||
{
|
||||
"id": "8e55fa00-c6af-428a-aa20-69fb3223a0d1",
|
||||
"name": "repos_hub4j-test-org_ghworkflowruntest",
|
||||
"request": {
|
||||
"url": "/repos/hub4j-test-org/GHWorkflowRunTest",
|
||||
"method": "GET",
|
||||
"headers": {
|
||||
"Accept": {
|
||||
"equalTo": "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2"
|
||||
}
|
||||
}
|
||||
},
|
||||
"response": {
|
||||
"status": 200,
|
||||
"bodyFileName": "repos_hub4j-test-org_ghworkflowruntest-2.json",
|
||||
"headers": {
|
||||
"Server": "GitHub.com",
|
||||
"Date": "Mon, 05 Apr 2021 13:14:28 GMT",
|
||||
"Content-Type": "application/json; charset=utf-8",
|
||||
"Cache-Control": "private, max-age=60, s-maxage=60",
|
||||
"Vary": [
|
||||
"Accept, Authorization, Cookie, X-GitHub-OTP",
|
||||
"Accept-Encoding, Accept, X-Requested-With"
|
||||
],
|
||||
"ETag": "W/\"1d05c152704970608725c6159cd470b992469e68dda6746d536bd9385e2b1568\"",
|
||||
"Last-Modified": "Mon, 05 Apr 2021 12:08:00 GMT",
|
||||
"X-OAuth-Scopes": "repo, user, workflow",
|
||||
"X-Accepted-OAuth-Scopes": "repo",
|
||||
"X-GitHub-Media-Type": "unknown, github.v3",
|
||||
"X-RateLimit-Limit": "5000",
|
||||
"X-RateLimit-Remaining": "4855",
|
||||
"X-RateLimit-Reset": "1617629340",
|
||||
"X-RateLimit-Used": "145",
|
||||
"Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload",
|
||||
"X-Frame-Options": "deny",
|
||||
"X-Content-Type-Options": "nosniff",
|
||||
"X-XSS-Protection": "0",
|
||||
"Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin",
|
||||
"Content-Security-Policy": "default-src 'none'",
|
||||
"X-GitHub-Request-Id": "92F4:8BFB:8531C58:8742CD6:606B0D34"
|
||||
}
|
||||
},
|
||||
"uuid": "8e55fa00-c6af-428a-aa20-69fb3223a0d1",
|
||||
"persistent": true,
|
||||
"insertionIndex": 2
|
||||
}
|
||||
@@ -0,0 +1,37 @@
|
||||
{
|
||||
"id": "a153454a-6e33-4e4a-ad0c-30531dcfa355",
|
||||
"name": "repos_hub4j-test-org_ghworkflowruntest_actions_jobs_2269946665_logs",
|
||||
"request": {
|
||||
"url": "/repos/hub4j-test-org/GHWorkflowRunTest/actions/jobs/2269946665/logs",
|
||||
"method": "GET",
|
||||
"headers": {
|
||||
"Accept": {
|
||||
"equalTo": "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2"
|
||||
}
|
||||
}
|
||||
},
|
||||
"response": {
|
||||
"status": 302,
|
||||
"headers": {
|
||||
"Server": "GitHub.com",
|
||||
"Date": "Mon, 05 Apr 2021 13:14:52 GMT",
|
||||
"Content-Type": "text/html;charset=utf-8",
|
||||
"X-RateLimit-Limit": "5000",
|
||||
"X-RateLimit-Remaining": "4843",
|
||||
"X-RateLimit-Reset": "1617629340",
|
||||
"X-RateLimit-Used": "157",
|
||||
"Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload",
|
||||
"X-Frame-Options": "deny",
|
||||
"X-Content-Type-Options": "nosniff",
|
||||
"X-XSS-Protection": "0",
|
||||
"Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin",
|
||||
"Content-Security-Policy": "default-src 'none'",
|
||||
"Vary": "Accept-Encoding, Accept, X-Requested-With",
|
||||
"X-GitHub-Request-Id": "92F4:8BFB:8534555:874567B:606B0D4C",
|
||||
"Location": "https://pipelines.actions.githubusercontent.com/u72ug1Ib1ZBCtek798HyrDYOU28rBK6ssrOKf37ZxrpgUbk95I/_apis/pipelines/1/runs/136/signedlogcontent/5?urlExpires=2021-04-05T13%3A15%3A52.3749500Z&urlSigningMethod=HMACV1&urlSignature=gvBxNhvLLsKDO9z7azGKIWMBwfWZvehkVTlsB8%2Bw8%2FY%3D"
|
||||
}
|
||||
},
|
||||
"uuid": "a153454a-6e33-4e4a-ad0c-30531dcfa355",
|
||||
"persistent": true,
|
||||
"insertionIndex": 9
|
||||
}
|
||||
@@ -0,0 +1,37 @@
|
||||
{
|
||||
"id": "be5e78c3-4b01-4b33-a9f8-97f34abe0efc",
|
||||
"name": "repos_hub4j-test-org_ghworkflowruntest_actions_jobs_2269946728_logs",
|
||||
"request": {
|
||||
"url": "/repos/hub4j-test-org/GHWorkflowRunTest/actions/jobs/2269946728/logs",
|
||||
"method": "GET",
|
||||
"headers": {
|
||||
"Accept": {
|
||||
"equalTo": "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2"
|
||||
}
|
||||
}
|
||||
},
|
||||
"response": {
|
||||
"status": 302,
|
||||
"headers": {
|
||||
"Server": "GitHub.com",
|
||||
"Date": "Mon, 05 Apr 2021 13:14:51 GMT",
|
||||
"Content-Type": "text/html;charset=utf-8",
|
||||
"X-RateLimit-Limit": "5000",
|
||||
"X-RateLimit-Remaining": "4844",
|
||||
"X-RateLimit-Reset": "1617629340",
|
||||
"X-RateLimit-Used": "156",
|
||||
"Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload",
|
||||
"X-Frame-Options": "deny",
|
||||
"X-Content-Type-Options": "nosniff",
|
||||
"X-XSS-Protection": "0",
|
||||
"Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin",
|
||||
"Content-Security-Policy": "default-src 'none'",
|
||||
"Vary": "Accept-Encoding, Accept, X-Requested-With",
|
||||
"X-GitHub-Request-Id": "92F4:8BFB:8534414:874553A:606B0D4B",
|
||||
"Location": "https://pipelines.actions.githubusercontent.com/u72ug1Ib1ZBCtek798HyrDYOU28rBK6ssrOKf37ZxrpgUbk95I/_apis/pipelines/1/runs/136/signedlogcontent/4?urlExpires=2021-04-05T13%3A15%3A51.6173063Z&urlSigningMethod=HMACV1&urlSignature=u8xNrhIfomvqSZDbM%2Bn4R9hMYK38vmaIX8GgBJAtNSY%3D"
|
||||
}
|
||||
},
|
||||
"uuid": "be5e78c3-4b01-4b33-a9f8-97f34abe0efc",
|
||||
"persistent": true,
|
||||
"insertionIndex": 8
|
||||
}
|
||||
@@ -0,0 +1,45 @@
|
||||
{
|
||||
"id": "796bdd9d-2b57-4bfc-aecd-4d2008fceecc",
|
||||
"name": "repos_hub4j-test-org_ghworkflowruntest_actions_jobs__2269946728",
|
||||
"request": {
|
||||
"url": "/repos/hub4j-test-org/GHWorkflowRunTest/actions/jobs//2269946728",
|
||||
"method": "GET",
|
||||
"headers": {
|
||||
"Accept": {
|
||||
"equalTo": "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2"
|
||||
}
|
||||
}
|
||||
},
|
||||
"response": {
|
||||
"status": 200,
|
||||
"bodyFileName": "repos_hub4j-test-org_ghworkflowruntest_actions_jobs__2269946728-10.json",
|
||||
"headers": {
|
||||
"Server": "GitHub.com",
|
||||
"Date": "Mon, 05 Apr 2021 13:14:52 GMT",
|
||||
"Content-Type": "application/json; charset=utf-8",
|
||||
"Cache-Control": "private, max-age=60, s-maxage=60",
|
||||
"Vary": [
|
||||
"Accept, Authorization, Cookie, X-GitHub-OTP",
|
||||
"Accept-Encoding, Accept, X-Requested-With"
|
||||
],
|
||||
"ETag": "W/\"e229b026f1d30c2b8d91c4a6bac5038dc2de78f1f5653d085138bbea88254c69\"",
|
||||
"X-OAuth-Scopes": "repo, user, workflow",
|
||||
"X-Accepted-OAuth-Scopes": "",
|
||||
"X-GitHub-Media-Type": "unknown, github.v3",
|
||||
"X-RateLimit-Limit": "5000",
|
||||
"X-RateLimit-Remaining": "4842",
|
||||
"X-RateLimit-Reset": "1617629340",
|
||||
"X-RateLimit-Used": "158",
|
||||
"Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload",
|
||||
"X-Frame-Options": "deny",
|
||||
"X-Content-Type-Options": "nosniff",
|
||||
"X-XSS-Protection": "0",
|
||||
"Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin",
|
||||
"Content-Security-Policy": "default-src 'none'",
|
||||
"X-GitHub-Request-Id": "92F4:8BFB:85345E7:8745722:606B0D4C"
|
||||
}
|
||||
},
|
||||
"uuid": "796bdd9d-2b57-4bfc-aecd-4d2008fceecc",
|
||||
"persistent": true,
|
||||
"insertionIndex": 10
|
||||
}
|
||||
@@ -0,0 +1,46 @@
|
||||
{
|
||||
"id": "f635440b-c764-40f0-a97b-15989856dad3",
|
||||
"name": "repos_hub4j-test-org_ghworkflowruntest_actions_runs",
|
||||
"request": {
|
||||
"url": "/repos/hub4j-test-org/GHWorkflowRunTest/actions/runs?per_page=1",
|
||||
"method": "GET",
|
||||
"headers": {
|
||||
"Accept": {
|
||||
"equalTo": "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2"
|
||||
}
|
||||
}
|
||||
},
|
||||
"response": {
|
||||
"status": 200,
|
||||
"bodyFileName": "repos_hub4j-test-org_ghworkflowruntest_actions_runs-4.json",
|
||||
"headers": {
|
||||
"Server": "GitHub.com",
|
||||
"Date": "Mon, 05 Apr 2021 13:14:28 GMT",
|
||||
"Content-Type": "application/json; charset=utf-8",
|
||||
"Cache-Control": "private, max-age=60, s-maxage=60",
|
||||
"Vary": [
|
||||
"Accept, Authorization, Cookie, X-GitHub-OTP",
|
||||
"Accept-Encoding, Accept, X-Requested-With"
|
||||
],
|
||||
"ETag": "W/\"65164fafdfcf9fd47635528bf32441d4d67e4a773ae644a7cdd61adf2bd2fa73\"",
|
||||
"X-OAuth-Scopes": "repo, user, workflow",
|
||||
"X-Accepted-OAuth-Scopes": "",
|
||||
"X-GitHub-Media-Type": "unknown, github.v3",
|
||||
"X-RateLimit-Limit": "5000",
|
||||
"X-RateLimit-Remaining": "4853",
|
||||
"X-RateLimit-Reset": "1617629340",
|
||||
"X-RateLimit-Used": "147",
|
||||
"Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload",
|
||||
"X-Frame-Options": "deny",
|
||||
"X-Content-Type-Options": "nosniff",
|
||||
"X-XSS-Protection": "0",
|
||||
"Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin",
|
||||
"Content-Security-Policy": "default-src 'none'",
|
||||
"X-GitHub-Request-Id": "92F4:8BFB:8531D0A:8742D8F:606B0D34",
|
||||
"Link": "<https://api.github.com/repositories/348674220/actions/runs?per_page=1&page=2>; rel=\"next\", <https://api.github.com/repositories/348674220/actions/runs?per_page=1&page=111>; rel=\"last\""
|
||||
}
|
||||
},
|
||||
"uuid": "f635440b-c764-40f0-a97b-15989856dad3",
|
||||
"persistent": true,
|
||||
"insertionIndex": 4
|
||||
}
|
||||
@@ -0,0 +1,46 @@
|
||||
{
|
||||
"id": "21e9df11-c4be-4468-94a1-b504dd5d68e3",
|
||||
"name": "repos_hub4j-test-org_ghworkflowruntest_actions_runs",
|
||||
"request": {
|
||||
"url": "/repos/hub4j-test-org/GHWorkflowRunTest/actions/runs?branch=main&status=completed&event=workflow_dispatch&per_page=20",
|
||||
"method": "GET",
|
||||
"headers": {
|
||||
"Accept": {
|
||||
"equalTo": "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2"
|
||||
}
|
||||
}
|
||||
},
|
||||
"response": {
|
||||
"status": 200,
|
||||
"bodyFileName": "repos_hub4j-test-org_ghworkflowruntest_actions_runs-6.json",
|
||||
"headers": {
|
||||
"Server": "GitHub.com",
|
||||
"Date": "Mon, 05 Apr 2021 13:14:51 GMT",
|
||||
"Content-Type": "application/json; charset=utf-8",
|
||||
"Cache-Control": "private, max-age=60, s-maxage=60",
|
||||
"Vary": [
|
||||
"Accept, Authorization, Cookie, X-GitHub-OTP",
|
||||
"Accept-Encoding, Accept, X-Requested-With"
|
||||
],
|
||||
"ETag": "W/\"cf3109686571a7a2431f88d2f97dec6abf1c3156bae9b8ab85948613902efeb5\"",
|
||||
"X-OAuth-Scopes": "repo, user, workflow",
|
||||
"X-Accepted-OAuth-Scopes": "",
|
||||
"X-GitHub-Media-Type": "unknown, github.v3",
|
||||
"X-RateLimit-Limit": "5000",
|
||||
"X-RateLimit-Remaining": "4846",
|
||||
"X-RateLimit-Reset": "1617629340",
|
||||
"X-RateLimit-Used": "154",
|
||||
"Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload",
|
||||
"X-Frame-Options": "deny",
|
||||
"X-Content-Type-Options": "nosniff",
|
||||
"X-XSS-Protection": "0",
|
||||
"Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin",
|
||||
"Content-Security-Policy": "default-src 'none'",
|
||||
"X-GitHub-Request-Id": "92F4:8BFB:853431C:8745440:606B0D4A",
|
||||
"Link": "<https://api.github.com/repositories/348674220/actions/runs?branch=main&status=completed&event=workflow_dispatch&per_page=20&page=2>; rel=\"next\", <https://api.github.com/repositories/348674220/actions/runs?branch=main&status=completed&event=workflow_dispatch&per_page=20&page=5>; rel=\"last\""
|
||||
}
|
||||
},
|
||||
"uuid": "21e9df11-c4be-4468-94a1-b504dd5d68e3",
|
||||
"persistent": true,
|
||||
"insertionIndex": 6
|
||||
}
|
||||
@@ -0,0 +1,45 @@
|
||||
{
|
||||
"id": "c94a1c19-b5ce-4d3c-b702-52ffe8488d3e",
|
||||
"name": "repos_hub4j-test-org_ghworkflowruntest_actions_runs_719290617_jobs",
|
||||
"request": {
|
||||
"url": "/repos/hub4j-test-org/GHWorkflowRunTest/actions/runs/719290617/jobs?filter=latest",
|
||||
"method": "GET",
|
||||
"headers": {
|
||||
"Accept": {
|
||||
"equalTo": "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2"
|
||||
}
|
||||
}
|
||||
},
|
||||
"response": {
|
||||
"status": 200,
|
||||
"bodyFileName": "repos_hub4j-test-org_ghworkflowruntest_actions_runs_719290617_jobs-7.json",
|
||||
"headers": {
|
||||
"Server": "GitHub.com",
|
||||
"Date": "Mon, 05 Apr 2021 13:14:51 GMT",
|
||||
"Content-Type": "application/json; charset=utf-8",
|
||||
"Cache-Control": "private, max-age=60, s-maxage=60",
|
||||
"Vary": [
|
||||
"Accept, Authorization, Cookie, X-GitHub-OTP",
|
||||
"Accept-Encoding, Accept, X-Requested-With"
|
||||
],
|
||||
"ETag": "W/\"36b85f5f7c2e6c9dd2da261b7180e41b9c55b942551f7ee872ddfaed6d108da2\"",
|
||||
"X-OAuth-Scopes": "repo, user, workflow",
|
||||
"X-Accepted-OAuth-Scopes": "",
|
||||
"X-GitHub-Media-Type": "unknown, github.v3",
|
||||
"X-RateLimit-Limit": "5000",
|
||||
"X-RateLimit-Remaining": "4845",
|
||||
"X-RateLimit-Reset": "1617629340",
|
||||
"X-RateLimit-Used": "155",
|
||||
"Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload",
|
||||
"X-Frame-Options": "deny",
|
||||
"X-Content-Type-Options": "nosniff",
|
||||
"X-XSS-Protection": "0",
|
||||
"Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin",
|
||||
"Content-Security-Policy": "default-src 'none'",
|
||||
"X-GitHub-Request-Id": "92F4:8BFB:85343C0:87454EB:606B0D4B"
|
||||
}
|
||||
},
|
||||
"uuid": "c94a1c19-b5ce-4d3c-b702-52ffe8488d3e",
|
||||
"persistent": true,
|
||||
"insertionIndex": 7
|
||||
}
|
||||
@@ -0,0 +1,45 @@
|
||||
{
|
||||
"id": "79b90799-5ece-4185-9820-e86c324a3b22",
|
||||
"name": "repos_hub4j-test-org_ghworkflowruntest_actions_workflows_7518893_dispatches",
|
||||
"request": {
|
||||
"url": "/repos/hub4j-test-org/GHWorkflowRunTest/actions/workflows/7518893/dispatches",
|
||||
"method": "POST",
|
||||
"headers": {
|
||||
"Accept": {
|
||||
"equalTo": "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2"
|
||||
}
|
||||
},
|
||||
"bodyPatterns": [
|
||||
{
|
||||
"equalToJson": "{\"ref\":\"main\"}",
|
||||
"ignoreArrayOrder": true,
|
||||
"ignoreExtraElements": false
|
||||
}
|
||||
]
|
||||
},
|
||||
"response": {
|
||||
"status": 204,
|
||||
"headers": {
|
||||
"Server": "GitHub.com",
|
||||
"Date": "Mon, 05 Apr 2021 13:14:29 GMT",
|
||||
"X-OAuth-Scopes": "repo, user, workflow",
|
||||
"X-Accepted-OAuth-Scopes": "",
|
||||
"X-GitHub-Media-Type": "unknown, github.v3",
|
||||
"X-RateLimit-Limit": "5000",
|
||||
"X-RateLimit-Remaining": "4852",
|
||||
"X-RateLimit-Reset": "1617629340",
|
||||
"X-RateLimit-Used": "148",
|
||||
"Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload",
|
||||
"X-Frame-Options": "deny",
|
||||
"X-Content-Type-Options": "nosniff",
|
||||
"X-XSS-Protection": "0",
|
||||
"Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin",
|
||||
"Content-Security-Policy": "default-src 'none'",
|
||||
"Vary": "Accept-Encoding, Accept, X-Requested-With",
|
||||
"X-GitHub-Request-Id": "92F4:8BFB:8531D80:8742E0B:606B0D34"
|
||||
}
|
||||
},
|
||||
"uuid": "79b90799-5ece-4185-9820-e86c324a3b22",
|
||||
"persistent": true,
|
||||
"insertionIndex": 5
|
||||
}
|
||||
@@ -0,0 +1,45 @@
|
||||
{
|
||||
"id": "9bb9ba12-c59c-4a54-8d03-1e207de0fa63",
|
||||
"name": "repos_hub4j-test-org_ghworkflowruntest_actions_workflows_multi-jobs-workflowyml",
|
||||
"request": {
|
||||
"url": "/repos/hub4j-test-org/GHWorkflowRunTest/actions/workflows/multi-jobs-workflow.yml",
|
||||
"method": "GET",
|
||||
"headers": {
|
||||
"Accept": {
|
||||
"equalTo": "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2"
|
||||
}
|
||||
}
|
||||
},
|
||||
"response": {
|
||||
"status": 200,
|
||||
"bodyFileName": "repos_hub4j-test-org_ghworkflowruntest_actions_workflows_multi-jobs-workflowyml-3.json",
|
||||
"headers": {
|
||||
"Server": "GitHub.com",
|
||||
"Date": "Mon, 05 Apr 2021 13:14:28 GMT",
|
||||
"Content-Type": "application/json; charset=utf-8",
|
||||
"Cache-Control": "private, max-age=60, s-maxage=60",
|
||||
"Vary": [
|
||||
"Accept, Authorization, Cookie, X-GitHub-OTP",
|
||||
"Accept-Encoding, Accept, X-Requested-With"
|
||||
],
|
||||
"ETag": "W/\"b27ec619ffd2ae4bad4805ebe4afa4a677f76eb0f3d2331f40d39fe250299be8\"",
|
||||
"X-OAuth-Scopes": "repo, user, workflow",
|
||||
"X-Accepted-OAuth-Scopes": "",
|
||||
"X-GitHub-Media-Type": "unknown, github.v3",
|
||||
"X-RateLimit-Limit": "5000",
|
||||
"X-RateLimit-Remaining": "4854",
|
||||
"X-RateLimit-Reset": "1617629340",
|
||||
"X-RateLimit-Used": "146",
|
||||
"Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload",
|
||||
"X-Frame-Options": "deny",
|
||||
"X-Content-Type-Options": "nosniff",
|
||||
"X-XSS-Protection": "0",
|
||||
"Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin",
|
||||
"Content-Security-Policy": "default-src 'none'",
|
||||
"X-GitHub-Request-Id": "92F4:8BFB:8531CC0:8742D32:606B0D34"
|
||||
}
|
||||
},
|
||||
"uuid": "9bb9ba12-c59c-4a54-8d03-1e207de0fa63",
|
||||
"persistent": true,
|
||||
"insertionIndex": 3
|
||||
}
|
||||
@@ -0,0 +1,46 @@
|
||||
{
|
||||
"id": "9cd0255f-efdf-4501-84e8-a36399590ed8",
|
||||
"name": "user",
|
||||
"request": {
|
||||
"url": "/user",
|
||||
"method": "GET",
|
||||
"headers": {
|
||||
"Accept": {
|
||||
"equalTo": "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2"
|
||||
}
|
||||
}
|
||||
},
|
||||
"response": {
|
||||
"status": 200,
|
||||
"bodyFileName": "user-1.json",
|
||||
"headers": {
|
||||
"Server": "GitHub.com",
|
||||
"Date": "Mon, 05 Apr 2021 13:14:28 GMT",
|
||||
"Content-Type": "application/json; charset=utf-8",
|
||||
"Cache-Control": "private, max-age=60, s-maxage=60",
|
||||
"Vary": [
|
||||
"Accept, Authorization, Cookie, X-GitHub-OTP",
|
||||
"Accept-Encoding, Accept, X-Requested-With"
|
||||
],
|
||||
"ETag": "W/\"29ab08a069bf880eeed881d36862682dadcb77e7d429f2026195549e0788a20b\"",
|
||||
"Last-Modified": "Sun, 04 Apr 2021 11:26:23 GMT",
|
||||
"X-OAuth-Scopes": "repo, user, workflow",
|
||||
"X-Accepted-OAuth-Scopes": "",
|
||||
"X-GitHub-Media-Type": "unknown, github.v3",
|
||||
"X-RateLimit-Limit": "5000",
|
||||
"X-RateLimit-Remaining": "4857",
|
||||
"X-RateLimit-Reset": "1617629340",
|
||||
"X-RateLimit-Used": "143",
|
||||
"Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload",
|
||||
"X-Frame-Options": "deny",
|
||||
"X-Content-Type-Options": "nosniff",
|
||||
"X-XSS-Protection": "0",
|
||||
"Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin",
|
||||
"Content-Security-Policy": "default-src 'none'",
|
||||
"X-GitHub-Request-Id": "92F4:8BFB:8531B69:8742BE7:606B0D33"
|
||||
}
|
||||
},
|
||||
"uuid": "9cd0255f-efdf-4501-84e8-a36399590ed8",
|
||||
"persistent": true,
|
||||
"insertionIndex": 1
|
||||
}
|
||||
@@ -0,0 +1,39 @@
|
||||
2021-04-05T12:42:04.2761554Z ##[section]Starting: Request a runner to run this job
|
||||
2021-04-05T12:42:04.4055924Z Can't find any online and idle self-hosted runner in current repository that matches the required labels: 'ubuntu-latest'
|
||||
2021-04-05T12:42:04.4056017Z Can't find any online and idle self-hosted runner in current repository's account/organization that matches the required labels: 'ubuntu-latest'
|
||||
2021-04-05T12:42:04.4056190Z Found online and idle hosted runner in current repository's account/organization that matches the required labels: 'ubuntu-latest'
|
||||
2021-04-05T12:42:04.5280515Z ##[section]Finishing: Request a runner to run this job
|
||||
2021-04-05T12:42:09.1979765Z Current runner version: '2.277.1'
|
||||
2021-04-05T12:42:09.2008860Z ##[group]Operating System
|
||||
2021-04-05T12:42:09.2009935Z Ubuntu
|
||||
2021-04-05T12:42:09.2010390Z 20.04.2
|
||||
2021-04-05T12:42:09.2010846Z LTS
|
||||
2021-04-05T12:42:09.2011293Z ##[endgroup]
|
||||
2021-04-05T12:42:09.2011822Z ##[group]Virtual Environment
|
||||
2021-04-05T12:42:09.2012544Z Environment: ubuntu-20.04
|
||||
2021-04-05T12:42:09.2013091Z Version: 20210330.1
|
||||
2021-04-05T12:42:09.2014140Z Included Software: https://github.com/actions/virtual-environments/blob/ubuntu20/20210330.1/images/linux/Ubuntu2004-README.md
|
||||
2021-04-05T12:42:09.2015515Z Image Release: https://github.com/actions/virtual-environments/releases/tag/ubuntu20%2F20210330.1
|
||||
2021-04-05T12:42:09.2016388Z ##[endgroup]
|
||||
2021-04-05T12:42:09.2018748Z ##[group]GITHUB_TOKEN Permissions
|
||||
2021-04-05T12:42:09.2020041Z Actions: write
|
||||
2021-04-05T12:42:09.2020618Z Checks: write
|
||||
2021-04-05T12:42:09.2021096Z Contents: write
|
||||
2021-04-05T12:42:09.2021609Z Deployments: write
|
||||
2021-04-05T12:42:09.2022303Z Issues: write
|
||||
2021-04-05T12:42:09.2022891Z Metadata: read
|
||||
2021-04-05T12:42:09.2023539Z OrganizationPackages: write
|
||||
2021-04-05T12:42:09.2024139Z Packages: write
|
||||
2021-04-05T12:42:09.2024664Z PullRequests: write
|
||||
2021-04-05T12:42:09.2025391Z RepositoryProjects: write
|
||||
2021-04-05T12:42:09.2026022Z SecurityEvents: write
|
||||
2021-04-05T12:42:09.2026555Z Statuses: write
|
||||
2021-04-05T12:42:09.2027242Z ##[endgroup]
|
||||
2021-04-05T12:42:09.2030666Z Prepare workflow directory
|
||||
2021-04-05T12:42:09.2758319Z Prepare all required actions
|
||||
2021-04-05T12:42:09.3757884Z ##[group]Run echo Hello from job1!
|
||||
2021-04-05T12:42:09.3758536Z [36;1mecho Hello from job1![0m
|
||||
2021-04-05T12:42:09.4401406Z shell: /usr/bin/bash -e {0}
|
||||
2021-04-05T12:42:09.4402076Z ##[endgroup]
|
||||
2021-04-05T12:42:10.3070171Z Hello from job1!
|
||||
2021-04-05T12:42:10.3112008Z Cleaning up orphan processes
|
||||
@@ -0,0 +1,39 @@
|
||||
2021-04-05T13:00:02.8376003Z ##[section]Starting: Request a runner to run this job
|
||||
2021-04-05T13:00:03.2192604Z Can't find any online and idle self-hosted runner in current repository that matches the required labels: 'ubuntu-latest'
|
||||
2021-04-05T13:00:03.2192732Z Can't find any online and idle self-hosted runner in current repository's account/organization that matches the required labels: 'ubuntu-latest'
|
||||
2021-04-05T13:00:03.2192950Z Found online and idle hosted runner in current repository's account/organization that matches the required labels: 'ubuntu-latest'
|
||||
2021-04-05T13:00:03.3082246Z ##[section]Finishing: Request a runner to run this job
|
||||
2021-04-05T13:00:10.8303065Z Current runner version: '2.277.1'
|
||||
2021-04-05T13:00:10.8326261Z ##[group]Operating System
|
||||
2021-04-05T13:00:10.8327053Z Ubuntu
|
||||
2021-04-05T13:00:10.8327427Z 20.04.2
|
||||
2021-04-05T13:00:10.8327794Z LTS
|
||||
2021-04-05T13:00:10.8328147Z ##[endgroup]
|
||||
2021-04-05T13:00:10.8328571Z ##[group]Virtual Environment
|
||||
2021-04-05T13:00:10.8329099Z Environment: ubuntu-20.04
|
||||
2021-04-05T13:00:10.8329533Z Version: 20210330.1
|
||||
2021-04-05T13:00:10.8330339Z Included Software: https://github.com/actions/virtual-environments/blob/ubuntu20/20210330.1/images/linux/Ubuntu2004-README.md
|
||||
2021-04-05T13:00:10.8331462Z Image Release: https://github.com/actions/virtual-environments/releases/tag/ubuntu20%2F20210330.1
|
||||
2021-04-05T13:00:10.8332147Z ##[endgroup]
|
||||
2021-04-05T13:00:10.8333787Z ##[group]GITHUB_TOKEN Permissions
|
||||
2021-04-05T13:00:10.8334808Z Actions: write
|
||||
2021-04-05T13:00:10.8335283Z Checks: write
|
||||
2021-04-05T13:00:10.8335668Z Contents: write
|
||||
2021-04-05T13:00:10.8336078Z Deployments: write
|
||||
2021-04-05T13:00:10.8336593Z Issues: write
|
||||
2021-04-05T13:00:10.8337041Z Metadata: read
|
||||
2021-04-05T13:00:10.8337522Z OrganizationPackages: write
|
||||
2021-04-05T13:00:10.8338042Z Packages: write
|
||||
2021-04-05T13:00:10.8338461Z PullRequests: write
|
||||
2021-04-05T13:00:10.8338945Z RepositoryProjects: write
|
||||
2021-04-05T13:00:10.8339491Z SecurityEvents: write
|
||||
2021-04-05T13:00:10.8339918Z Statuses: write
|
||||
2021-04-05T13:00:10.8340387Z ##[endgroup]
|
||||
2021-04-05T13:00:10.8343202Z Prepare workflow directory
|
||||
2021-04-05T13:00:10.8949391Z Prepare all required actions
|
||||
2021-04-05T13:00:10.9597827Z ##[group]Run echo Hello from job1!
|
||||
2021-04-05T13:00:10.9598467Z [36;1mecho Hello from job1![0m
|
||||
2021-04-05T13:00:11.9244450Z shell: /usr/bin/bash -e {0}
|
||||
2021-04-05T13:00:11.9245221Z ##[endgroup]
|
||||
2021-04-05T13:00:11.9498945Z Hello from job1!
|
||||
2021-04-05T13:00:11.9531346Z Cleaning up orphan processes
|
||||
@@ -0,0 +1,39 @@
|
||||
2021-04-05T13:00:02.8380323Z ##[section]Starting: Request a runner to run this job
|
||||
2021-04-05T13:00:03.2087658Z Can't find any online and idle self-hosted runner in current repository that matches the required labels: 'ubuntu-latest'
|
||||
2021-04-05T13:00:03.2087770Z Can't find any online and idle self-hosted runner in current repository's account/organization that matches the required labels: 'ubuntu-latest'
|
||||
2021-04-05T13:00:03.2088211Z Found online and idle hosted runner in current repository's account/organization that matches the required labels: 'ubuntu-latest'
|
||||
2021-04-05T13:00:03.3087095Z ##[section]Finishing: Request a runner to run this job
|
||||
2021-04-05T13:00:10.4717302Z Current runner version: '2.277.1'
|
||||
2021-04-05T13:00:10.4748032Z ##[group]Operating System
|
||||
2021-04-05T13:00:10.4748979Z Ubuntu
|
||||
2021-04-05T13:00:10.4749449Z 20.04.2
|
||||
2021-04-05T13:00:10.4749834Z LTS
|
||||
2021-04-05T13:00:10.4750248Z ##[endgroup]
|
||||
2021-04-05T13:00:10.4750751Z ##[group]Virtual Environment
|
||||
2021-04-05T13:00:10.4751315Z Environment: ubuntu-20.04
|
||||
2021-04-05T13:00:10.4751781Z Version: 20210330.1
|
||||
2021-04-05T13:00:10.4752703Z Included Software: https://github.com/actions/virtual-environments/blob/ubuntu20/20210330.1/images/linux/Ubuntu2004-README.md
|
||||
2021-04-05T13:00:10.4753923Z Image Release: https://github.com/actions/virtual-environments/releases/tag/ubuntu20%2F20210330.1
|
||||
2021-04-05T13:00:10.4754709Z ##[endgroup]
|
||||
2021-04-05T13:00:10.4756772Z ##[group]GITHUB_TOKEN Permissions
|
||||
2021-04-05T13:00:10.4758217Z Actions: write
|
||||
2021-04-05T13:00:10.4758676Z Checks: write
|
||||
2021-04-05T13:00:10.4759156Z Contents: write
|
||||
2021-04-05T13:00:10.4759693Z Deployments: write
|
||||
2021-04-05T13:00:10.4760712Z Issues: write
|
||||
2021-04-05T13:00:10.4761281Z Metadata: read
|
||||
2021-04-05T13:00:10.4761850Z OrganizationPackages: write
|
||||
2021-04-05T13:00:10.4762349Z Packages: write
|
||||
2021-04-05T13:00:10.4762786Z PullRequests: write
|
||||
2021-04-05T13:00:10.4763339Z RepositoryProjects: write
|
||||
2021-04-05T13:00:10.4763869Z SecurityEvents: write
|
||||
2021-04-05T13:00:10.4764313Z Statuses: write
|
||||
2021-04-05T13:00:10.4764911Z ##[endgroup]
|
||||
2021-04-05T13:00:10.4768376Z Prepare workflow directory
|
||||
2021-04-05T13:00:10.5504537Z Prepare all required actions
|
||||
2021-04-05T13:00:10.6432553Z ##[group]Run echo Hello from job2!
|
||||
2021-04-05T13:00:10.6433151Z [36;1mecho Hello from job2![0m
|
||||
2021-04-05T13:00:10.7056857Z shell: /usr/bin/bash -e {0}
|
||||
2021-04-05T13:00:10.7057616Z ##[endgroup]
|
||||
2021-04-05T13:00:11.5337551Z Hello from job2!
|
||||
2021-04-05T13:00:11.5387308Z Cleaning up orphan processes
|
||||
@@ -0,0 +1,39 @@
|
||||
2021-04-05T13:14:30.9640427Z ##[section]Starting: Request a runner to run this job
|
||||
2021-04-05T13:14:31.2171249Z Can't find any online and idle self-hosted runner in current repository that matches the required labels: 'ubuntu-latest'
|
||||
2021-04-05T13:14:31.2171350Z Can't find any online and idle self-hosted runner in current repository's account/organization that matches the required labels: 'ubuntu-latest'
|
||||
2021-04-05T13:14:31.2171686Z Found online and idle hosted runner in current repository's account/organization that matches the required labels: 'ubuntu-latest'
|
||||
2021-04-05T13:14:31.3348061Z ##[section]Finishing: Request a runner to run this job
|
||||
2021-04-05T13:14:37.7261842Z Current runner version: '2.277.1'
|
||||
2021-04-05T13:14:37.7290062Z ##[group]Operating System
|
||||
2021-04-05T13:14:37.7291182Z Ubuntu
|
||||
2021-04-05T13:14:37.7291658Z 20.04.2
|
||||
2021-04-05T13:14:37.7292087Z LTS
|
||||
2021-04-05T13:14:37.7292610Z ##[endgroup]
|
||||
2021-04-05T13:14:37.7293181Z ##[group]Virtual Environment
|
||||
2021-04-05T13:14:37.7293901Z Environment: ubuntu-20.04
|
||||
2021-04-05T13:14:37.7294706Z Version: 20210330.1
|
||||
2021-04-05T13:14:37.7295787Z Included Software: https://github.com/actions/virtual-environments/blob/ubuntu20/20210330.1/images/linux/Ubuntu2004-README.md
|
||||
2021-04-05T13:14:37.7297292Z Image Release: https://github.com/actions/virtual-environments/releases/tag/ubuntu20%2F20210330.1
|
||||
2021-04-05T13:14:37.7298211Z ##[endgroup]
|
||||
2021-04-05T13:14:37.7300420Z ##[group]GITHUB_TOKEN Permissions
|
||||
2021-04-05T13:14:37.7301718Z Actions: write
|
||||
2021-04-05T13:14:37.7302264Z Checks: write
|
||||
2021-04-05T13:14:37.7302828Z Contents: write
|
||||
2021-04-05T13:14:37.7303372Z Deployments: write
|
||||
2021-04-05T13:14:37.7304044Z Issues: write
|
||||
2021-04-05T13:14:37.7304631Z Metadata: read
|
||||
2021-04-05T13:14:37.7305279Z OrganizationPackages: write
|
||||
2021-04-05T13:14:37.7305968Z Packages: write
|
||||
2021-04-05T13:14:37.7306525Z PullRequests: write
|
||||
2021-04-05T13:14:37.7307179Z RepositoryProjects: write
|
||||
2021-04-05T13:14:37.7307902Z SecurityEvents: write
|
||||
2021-04-05T13:14:37.7308470Z Statuses: write
|
||||
2021-04-05T13:14:37.7309106Z ##[endgroup]
|
||||
2021-04-05T13:14:37.7312359Z Prepare workflow directory
|
||||
2021-04-05T13:14:37.7993739Z Prepare all required actions
|
||||
2021-04-05T13:14:37.8829028Z ##[group]Run echo Hello from job1!
|
||||
2021-04-05T13:14:37.8829763Z [36;1mecho Hello from job1![0m
|
||||
2021-04-05T13:14:37.9601924Z shell: /usr/bin/bash -e {0}
|
||||
2021-04-05T13:14:37.9602634Z ##[endgroup]
|
||||
2021-04-05T13:14:38.8271437Z Hello from job1!
|
||||
2021-04-05T13:14:38.8309826Z Cleaning up orphan processes
|
||||
@@ -0,0 +1,39 @@
|
||||
2021-04-05T13:14:30.9644173Z ##[section]Starting: Request a runner to run this job
|
||||
2021-04-05T13:14:31.2409107Z Can't find any online and idle self-hosted runner in current repository that matches the required labels: 'ubuntu-latest'
|
||||
2021-04-05T13:14:31.2409226Z Can't find any online and idle self-hosted runner in current repository's account/organization that matches the required labels: 'ubuntu-latest'
|
||||
2021-04-05T13:14:31.2409408Z Found online and idle hosted runner in current repository's account/organization that matches the required labels: 'ubuntu-latest'
|
||||
2021-04-05T13:14:31.4161492Z ##[section]Finishing: Request a runner to run this job
|
||||
2021-04-05T13:14:38.6508368Z Current runner version: '2.277.1'
|
||||
2021-04-05T13:14:38.6536243Z ##[group]Operating System
|
||||
2021-04-05T13:14:38.6537337Z Ubuntu
|
||||
2021-04-05T13:14:38.6537797Z 20.04.2
|
||||
2021-04-05T13:14:38.6538273Z LTS
|
||||
2021-04-05T13:14:38.6538788Z ##[endgroup]
|
||||
2021-04-05T13:14:38.6539418Z ##[group]Virtual Environment
|
||||
2021-04-05T13:14:38.6540086Z Environment: ubuntu-20.04
|
||||
2021-04-05T13:14:38.6540714Z Version: 20210330.1
|
||||
2021-04-05T13:14:38.6541850Z Included Software: https://github.com/actions/virtual-environments/blob/ubuntu20/20210330.1/images/linux/Ubuntu2004-README.md
|
||||
2021-04-05T13:14:38.6543203Z Image Release: https://github.com/actions/virtual-environments/releases/tag/ubuntu20%2F20210330.1
|
||||
2021-04-05T13:14:38.6544137Z ##[endgroup]
|
||||
2021-04-05T13:14:38.6546262Z ##[group]GITHUB_TOKEN Permissions
|
||||
2021-04-05T13:14:38.6547469Z Actions: write
|
||||
2021-04-05T13:14:38.6547958Z Checks: write
|
||||
2021-04-05T13:14:38.6548439Z Contents: write
|
||||
2021-04-05T13:14:38.6549031Z Deployments: write
|
||||
2021-04-05T13:14:38.6549665Z Issues: write
|
||||
2021-04-05T13:14:38.6550222Z Metadata: read
|
||||
2021-04-05T13:14:38.6551015Z OrganizationPackages: write
|
||||
2021-04-05T13:14:38.6551662Z Packages: write
|
||||
2021-04-05T13:14:38.6552304Z PullRequests: write
|
||||
2021-04-05T13:14:38.6552966Z RepositoryProjects: write
|
||||
2021-04-05T13:14:38.6553642Z SecurityEvents: write
|
||||
2021-04-05T13:14:38.6554285Z Statuses: write
|
||||
2021-04-05T13:14:38.6554932Z ##[endgroup]
|
||||
2021-04-05T13:14:38.6558263Z Prepare workflow directory
|
||||
2021-04-05T13:14:38.7238319Z Prepare all required actions
|
||||
2021-04-05T13:14:38.8026151Z ##[group]Run echo Hello from job2!
|
||||
2021-04-05T13:14:38.8026791Z [36;1mecho Hello from job2![0m
|
||||
2021-04-05T13:14:38.8632670Z shell: /usr/bin/bash -e {0}
|
||||
2021-04-05T13:14:38.8633399Z ##[endgroup]
|
||||
2021-04-05T13:14:39.7846333Z Hello from job2!
|
||||
2021-04-05T13:14:39.7884821Z Cleaning up orphan processes
|
||||
@@ -0,0 +1,34 @@
|
||||
{
|
||||
"id": "7516d467-8f07-4ca8-8b95-1492497460bc",
|
||||
"name": "u72ug1ib1zbctek798hyrdyou28rbk6ssrokf37zxrpgubk95i__apis_pipelines_1_runs_132_signedlogcontent_5",
|
||||
"request": {
|
||||
"url": "/u72ug1Ib1ZBCtek798HyrDYOU28rBK6ssrOKf37ZxrpgUbk95I/_apis/pipelines/1/runs/132/signedlogcontent/5?urlExpires=2021-04-05T12%3A43%3A19.7498350Z&urlSigningMethod=HMACV1&urlSignature=qTiiukhaCKSEHJ84oHg%2B2jxRCyLoHYRMPN5eDh%2BJkTQ%3D",
|
||||
"method": "GET",
|
||||
"headers": {
|
||||
"Accept": {
|
||||
"equalTo": "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2"
|
||||
}
|
||||
}
|
||||
},
|
||||
"response": {
|
||||
"status": 200,
|
||||
"bodyFileName": "u72ug1ib1zbctek798hyrdyou28rbk6ssrokf37zxrpgubk95i__apis_pipelines_1_runs_132_signedlogcontent_5-1.txt",
|
||||
"headers": {
|
||||
"Cache-Control": "no-store,no-cache",
|
||||
"Pragma": "no-cache",
|
||||
"Content-Type": "text/plain; charset=utf-8",
|
||||
"Vary": "Accept-Encoding",
|
||||
"Strict-Transport-Security": "max-age=2592000",
|
||||
"X-TFS-ProcessId": "34235e3d-7521-424c-ae95-23b6414e1cc4",
|
||||
"ActivityId": "fb621869-85df-4ab4-be58-17b0c6aab679",
|
||||
"X-TFS-Session": "fb621869-85df-4ab4-be58-17b0c6aab679",
|
||||
"X-VSS-E2EID": "fb621869-85df-4ab4-be58-17b0c6aab679",
|
||||
"X-VSS-SenderDeploymentId": "2c974d96-2c30-cef5-eff2-3e0511a903a5",
|
||||
"X-MSEdge-Ref": "Ref A: 780983DBDD4E4EFFAAC54FE9305A6DD0 Ref B: MRS20EDGE0108 Ref C: 2021-04-05T12:42:19Z",
|
||||
"Date": "Mon, 05 Apr 2021 12:42:20 GMT"
|
||||
}
|
||||
},
|
||||
"uuid": "7516d467-8f07-4ca8-8b95-1492497460bc",
|
||||
"persistent": true,
|
||||
"insertionIndex": 1
|
||||
}
|
||||
@@ -0,0 +1,34 @@
|
||||
{
|
||||
"id": "138678bb-85b7-46ae-b758-c36010c4c707",
|
||||
"name": "u72ug1ib1zbctek798hyrdyou28rbk6ssrokf37zxrpgubk95i__apis_pipelines_1_runs_135_signedlogcontent_4",
|
||||
"request": {
|
||||
"url": "/u72ug1Ib1ZBCtek798HyrDYOU28rBK6ssrOKf37ZxrpgUbk95I/_apis/pipelines/1/runs/135/signedlogcontent/4?urlExpires=2021-04-05T13%3A01%3A23.3097327Z&urlSigningMethod=HMACV1&urlSignature=7V7SBU2eaSOrZZ%2F7wow%2F71%2Fi0pQ37HZVxDY1aF%2FuP7g%3D",
|
||||
"method": "GET",
|
||||
"headers": {
|
||||
"Accept": {
|
||||
"equalTo": "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2"
|
||||
}
|
||||
}
|
||||
},
|
||||
"response": {
|
||||
"status": 200,
|
||||
"bodyFileName": "u72ug1ib1zbctek798hyrdyou28rbk6ssrokf37zxrpgubk95i__apis_pipelines_1_runs_135_signedlogcontent_4-2.txt",
|
||||
"headers": {
|
||||
"Cache-Control": "no-store,no-cache",
|
||||
"Pragma": "no-cache",
|
||||
"Content-Type": "text/plain; charset=utf-8",
|
||||
"Vary": "Accept-Encoding",
|
||||
"Strict-Transport-Security": "max-age=2592000",
|
||||
"X-TFS-ProcessId": "574c71d8-7bc3-4707-8eb7-2d7b2c84ca87",
|
||||
"ActivityId": "b03ef986-97db-41fb-ae0a-f36c8f550702",
|
||||
"X-TFS-Session": "b03ef986-97db-41fb-ae0a-f36c8f550702",
|
||||
"X-VSS-E2EID": "b03ef986-97db-41fb-ae0a-f36c8f550702",
|
||||
"X-VSS-SenderDeploymentId": "2c974d96-2c30-cef5-eff2-3e0511a903a5",
|
||||
"X-MSEdge-Ref": "Ref A: AE6CEE45671E4E7AA88E1384FD63398B Ref B: MRS20EDGE0109 Ref C: 2021-04-05T13:00:23Z",
|
||||
"Date": "Mon, 05 Apr 2021 13:00:23 GMT"
|
||||
}
|
||||
},
|
||||
"uuid": "138678bb-85b7-46ae-b758-c36010c4c707",
|
||||
"persistent": true,
|
||||
"insertionIndex": 2
|
||||
}
|
||||
@@ -0,0 +1,34 @@
|
||||
{
|
||||
"id": "dbd3b737-7cc5-4d52-93ce-8f971a0c1f73",
|
||||
"name": "u72ug1ib1zbctek798hyrdyou28rbk6ssrokf37zxrpgubk95i__apis_pipelines_1_runs_135_signedlogcontent_5",
|
||||
"request": {
|
||||
"url": "/u72ug1Ib1ZBCtek798HyrDYOU28rBK6ssrOKf37ZxrpgUbk95I/_apis/pipelines/1/runs/135/signedlogcontent/5?urlExpires=2021-04-05T13%3A01%3A23.7685055Z&urlSigningMethod=HMACV1&urlSignature=7jVtOpls5N5nc1fLqjMuWfWiv5ddksWCsDhmGZG7BKo%3D",
|
||||
"method": "GET",
|
||||
"headers": {
|
||||
"Accept": {
|
||||
"equalTo": "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2"
|
||||
}
|
||||
}
|
||||
},
|
||||
"response": {
|
||||
"status": 200,
|
||||
"bodyFileName": "u72ug1ib1zbctek798hyrdyou28rbk6ssrokf37zxrpgubk95i__apis_pipelines_1_runs_135_signedlogcontent_5-3.txt",
|
||||
"headers": {
|
||||
"Cache-Control": "no-store,no-cache",
|
||||
"Pragma": "no-cache",
|
||||
"Content-Type": "text/plain; charset=utf-8",
|
||||
"Vary": "Accept-Encoding",
|
||||
"Strict-Transport-Security": "max-age=2592000",
|
||||
"X-TFS-ProcessId": "34235e3d-7521-424c-ae95-23b6414e1cc4",
|
||||
"ActivityId": "fb6ddd18-85df-4ab4-be58-17b0c6aab679",
|
||||
"X-TFS-Session": "fb6ddd18-85df-4ab4-be58-17b0c6aab679",
|
||||
"X-VSS-E2EID": "fb6ddd18-85df-4ab4-be58-17b0c6aab679",
|
||||
"X-VSS-SenderDeploymentId": "2c974d96-2c30-cef5-eff2-3e0511a903a5",
|
||||
"X-MSEdge-Ref": "Ref A: 7CB4E4FCCF97459E84C60C3E67AD00EF Ref B: MRS20EDGE0109 Ref C: 2021-04-05T13:00:23Z",
|
||||
"Date": "Mon, 05 Apr 2021 13:00:23 GMT"
|
||||
}
|
||||
},
|
||||
"uuid": "dbd3b737-7cc5-4d52-93ce-8f971a0c1f73",
|
||||
"persistent": true,
|
||||
"insertionIndex": 3
|
||||
}
|
||||
@@ -0,0 +1,34 @@
|
||||
{
|
||||
"id": "462cdbdc-8c12-4042-9371-f8d3bd3dc76b",
|
||||
"name": "u72ug1ib1zbctek798hyrdyou28rbk6ssrokf37zxrpgubk95i__apis_pipelines_1_runs_136_signedlogcontent_4",
|
||||
"request": {
|
||||
"url": "/u72ug1Ib1ZBCtek798HyrDYOU28rBK6ssrOKf37ZxrpgUbk95I/_apis/pipelines/1/runs/136/signedlogcontent/4?urlExpires=2021-04-05T13%3A15%3A51.6173063Z&urlSigningMethod=HMACV1&urlSignature=u8xNrhIfomvqSZDbM%2Bn4R9hMYK38vmaIX8GgBJAtNSY%3D",
|
||||
"method": "GET",
|
||||
"headers": {
|
||||
"Accept": {
|
||||
"equalTo": "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2"
|
||||
}
|
||||
}
|
||||
},
|
||||
"response": {
|
||||
"status": 200,
|
||||
"bodyFileName": "u72ug1ib1zbctek798hyrdyou28rbk6ssrokf37zxrpgubk95i__apis_pipelines_1_runs_136_signedlogcontent_4-4.txt",
|
||||
"headers": {
|
||||
"Cache-Control": "no-store,no-cache",
|
||||
"Pragma": "no-cache",
|
||||
"Content-Type": "text/plain; charset=utf-8",
|
||||
"Vary": "Accept-Encoding",
|
||||
"Strict-Transport-Security": "max-age=2592000",
|
||||
"X-TFS-ProcessId": "0c574eb8-2cea-4c9e-a4f3-0c7ecc98b74b",
|
||||
"ActivityId": "5ec76528-62a5-416a-a915-c4537459279c",
|
||||
"X-TFS-Session": "5ec76528-62a5-416a-a915-c4537459279c",
|
||||
"X-VSS-E2EID": "5ec76528-62a5-416a-a915-c4537459279c",
|
||||
"X-VSS-SenderDeploymentId": "2c974d96-2c30-cef5-eff2-3e0511a903a5",
|
||||
"X-MSEdge-Ref": "Ref A: 3F2B66C623F74B4EAD1622FB8668C4FD Ref B: MRS20EDGE0114 Ref C: 2021-04-05T13:14:51Z",
|
||||
"Date": "Mon, 05 Apr 2021 13:14:52 GMT"
|
||||
}
|
||||
},
|
||||
"uuid": "462cdbdc-8c12-4042-9371-f8d3bd3dc76b",
|
||||
"persistent": true,
|
||||
"insertionIndex": 4
|
||||
}
|
||||
@@ -0,0 +1,34 @@
|
||||
{
|
||||
"id": "d026ff59-e581-4a04-9bd5-02a8f575ab5e",
|
||||
"name": "u72ug1ib1zbctek798hyrdyou28rbk6ssrokf37zxrpgubk95i__apis_pipelines_1_runs_136_signedlogcontent_5",
|
||||
"request": {
|
||||
"url": "/u72ug1Ib1ZBCtek798HyrDYOU28rBK6ssrOKf37ZxrpgUbk95I/_apis/pipelines/1/runs/136/signedlogcontent/5?urlExpires=2021-04-05T13%3A15%3A52.3749500Z&urlSigningMethod=HMACV1&urlSignature=gvBxNhvLLsKDO9z7azGKIWMBwfWZvehkVTlsB8%2Bw8%2FY%3D",
|
||||
"method": "GET",
|
||||
"headers": {
|
||||
"Accept": {
|
||||
"equalTo": "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2"
|
||||
}
|
||||
}
|
||||
},
|
||||
"response": {
|
||||
"status": 200,
|
||||
"bodyFileName": "u72ug1ib1zbctek798hyrdyou28rbk6ssrokf37zxrpgubk95i__apis_pipelines_1_runs_136_signedlogcontent_5-5.txt",
|
||||
"headers": {
|
||||
"Cache-Control": "no-store,no-cache",
|
||||
"Pragma": "no-cache",
|
||||
"Content-Type": "text/plain; charset=utf-8",
|
||||
"Vary": "Accept-Encoding",
|
||||
"Strict-Transport-Security": "max-age=2592000",
|
||||
"X-TFS-ProcessId": "0c574eb8-2cea-4c9e-a4f3-0c7ecc98b74b",
|
||||
"ActivityId": "5ec76a7a-62a5-416a-a915-c4537459279c",
|
||||
"X-TFS-Session": "5ec76a7a-62a5-416a-a915-c4537459279c",
|
||||
"X-VSS-E2EID": "5ec76a7a-62a5-416a-a915-c4537459279c",
|
||||
"X-VSS-SenderDeploymentId": "2c974d96-2c30-cef5-eff2-3e0511a903a5",
|
||||
"X-MSEdge-Ref": "Ref A: 593FBB27C8A246DA9ABAFDB826D4E036 Ref B: MRS20EDGE0114 Ref C: 2021-04-05T13:14:52Z",
|
||||
"Date": "Mon, 05 Apr 2021 13:14:52 GMT"
|
||||
}
|
||||
},
|
||||
"uuid": "d026ff59-e581-4a04-9bd5-02a8f575ab5e",
|
||||
"persistent": true,
|
||||
"insertionIndex": 5
|
||||
}
|
||||
Reference in New Issue
Block a user