Welcome to mirror list, hosted at ThFree Co, Russian Federation.

get_runner_jobs.query.graphql « graphql « runner « javascripts « assets « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 2b1decd3dddbd3aea802f93e3d0fb53f374e11f8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
#import "~/graphql_shared/fragments/pageInfo.fragment.graphql"

query getRunnerJobs($id: CiRunnerID!, $first: Int, $last: Int, $before: String, $after: String) {
  runner(id: $id) {
    id
    projectCount
    jobs(before: $before, after: $after, first: $first, last: $last) {
      nodes {
        id
        detailedStatus {
          # fields for `<ci-badge>`
          id
          detailsPath
          group
          icon
          text
        }
        pipeline {
          id
          project {
            id
            name
            webUrl
          }
        }
        shortSha
        commitPath
        tags
        finishedAt
      }
      pageInfo {
        ...PageInfo
      }
    }
  }
}