36 lines
712 B
GraphQL
36 lines
712 B
GraphQL
#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
|
|
}
|
|
}
|
|
}
|
|
}
|