github.com/munnerz/test-infra@v0.0.0-20190108210205-ce3d181dc989/prow/cmd/deck/static/api/prow.ts (about)

     1  export type JobType = "presubmit" | "postsubmit" | "batch" | "periodic";
     2  export type JobState = "triggered" | "pending" | "success" | "failure" | "aborted" | "error" | "unknown" | "";
     3  
     4  export interface Job {
     5    type: JobType;
     6    repo: string;
     7    refs: string;
     8    base_ref: string;
     9    base_sha: string;
    10    pull_sha: string;
    11    number: number;
    12    author: string;
    13    job: string;
    14    build_id: string;
    15    context: string;
    16    started: string;
    17    finished: string;
    18    duration: string;
    19    state: JobState;
    20    description: string;
    21    url: string;
    22    pod_name: string;
    23    agent: string;
    24    prow_job: string;
    25  }