70 lines
1.3 KiB
GraphQL
70 lines
1.3 KiB
GraphQL
#import "~/graphql_shared/fragments/pageInfo.fragment.graphql"
|
|
|
|
query getPipelineJobs($fullPath: ID!, $iid: ID!, $after: String) {
|
|
project(fullPath: $fullPath) {
|
|
id
|
|
pipeline(iid: $iid) {
|
|
id
|
|
jobs(after: $after, first: 20) {
|
|
pageInfo {
|
|
...PageInfo
|
|
}
|
|
nodes {
|
|
artifacts {
|
|
nodes {
|
|
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
|
|
stage {
|
|
id
|
|
name
|
|
}
|
|
name
|
|
duration
|
|
finishedAt
|
|
coverage
|
|
retryable
|
|
playable
|
|
cancelable
|
|
active
|
|
stuck
|
|
userPermissions {
|
|
readBuild
|
|
readJobArtifacts
|
|
updateBuild
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|