diff options
Diffstat (limited to 'app/assets/javascripts/ci/admin/jobs_table/graphql/queries/get_all_jobs.query.graphql')
-rw-r--r-- | app/assets/javascripts/ci/admin/jobs_table/graphql/queries/get_all_jobs.query.graphql | 90 |
1 files changed, 90 insertions, 0 deletions
diff --git a/app/assets/javascripts/ci/admin/jobs_table/graphql/queries/get_all_jobs.query.graphql b/app/assets/javascripts/ci/admin/jobs_table/graphql/queries/get_all_jobs.query.graphql new file mode 100644 index 00000000000..89fb1782e46 --- /dev/null +++ b/app/assets/javascripts/ci/admin/jobs_table/graphql/queries/get_all_jobs.query.graphql @@ -0,0 +1,90 @@ +query getAllJobs( + $after: String + $first: Int = 50 + $statuses: [CiJobStatus!] + $runnerTypes: [CiRunnerType!] +) { + jobs(after: $after, first: $first, statuses: $statuses, runnerTypes: $runnerTypes) { + pageInfo { + endCursor + hasNextPage + hasPreviousPage + startCursor + } + nodes { + runner { + id + description + adminUrl + } + artifacts { + nodes { + id + downloadPath + fileType + } + } + allowFailure + status + scheduledAt + manualJob + triggered + createdByTag + detailedStatus { + id + detailsPath + group + icon + label + text + tooltip + action { + id + buttonTitle + icon + method + path + title + } + } + id + refName + refPath + tags + shortSha + commitPath + pipeline { + id + project { + id + fullPath + webUrl + } + path + user { + id + webPath + avatarUrl + } + } + stage { + id + name + } + name + duration + finishedAt + coverage + retryable + playable + cancelable + active + stuck + userPermissions { + readBuild + readJobArtifacts + updateBuild + } + } + } +} |