summaryrefslogtreecommitdiff
path: root/app/assets/javascripts/pipelines/graphql/queries/get_failed_jobs.query.graphql
blob: 14e9a838f4b09db7ab4a97a9cd502eb69160465c (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
37
38
39
40
41
query getFailedJobs($fullPath: ID!, $pipelineIid: ID!) {
  project(fullPath: $fullPath) {
    id
    pipeline(iid: $pipelineIid) {
      id
      jobs(statuses: FAILED) {
        nodes {
          status
          detailedStatus {
            id
            detailsPath
            group
            icon
            label
            text
            tooltip
            action {
              id
              buttonTitle
              icon
              method
              path
              title
            }
          }
          id
          stage {
            id
            name
          }
          name
          retryable
          userPermissions {
            readBuild
            updateBuild
          }
        }
      }
    }
  }
}