2021-12-21 09:14:14 +00:00
|
|
|
fragment CiNeeds on JobNeedUnion {
|
|
|
|
...CiBuildNeedFields
|
|
|
|
...CiJobNeedFields
|
|
|
|
}
|
|
|
|
|
|
|
|
fragment CiBuildNeedFields on CiBuildNeed {
|
|
|
|
id
|
|
|
|
name
|
|
|
|
}
|
|
|
|
|
|
|
|
fragment CiJobNeedFields on CiJob {
|
|
|
|
id
|
|
|
|
name
|
|
|
|
}
|
|
|
|
|
2021-01-19 12:10:46 +00:00
|
|
|
fragment LinkedPipelineData on Pipeline {
|
|
|
|
__typename
|
|
|
|
id
|
|
|
|
iid
|
|
|
|
path
|
2022-04-21 21:08:43 +00:00
|
|
|
cancelable
|
|
|
|
retryable
|
|
|
|
userPermissions {
|
|
|
|
updatePipeline
|
|
|
|
}
|
2021-01-19 12:10:46 +00:00
|
|
|
status: detailedStatus {
|
|
|
|
__typename
|
2021-11-30 15:14:19 +00:00
|
|
|
id
|
2021-01-19 12:10:46 +00:00
|
|
|
group
|
|
|
|
label
|
|
|
|
icon
|
|
|
|
}
|
|
|
|
sourceJob {
|
|
|
|
__typename
|
2021-11-30 15:14:19 +00:00
|
|
|
id
|
2021-01-19 12:10:46 +00:00
|
|
|
name
|
|
|
|
}
|
|
|
|
project {
|
|
|
|
__typename
|
2021-11-30 15:14:19 +00:00
|
|
|
id
|
2021-01-19 12:10:46 +00:00
|
|
|
name
|
|
|
|
fullPath
|
|
|
|
}
|
|
|
|
}
|
2020-12-07 15:09:49 +00:00
|
|
|
|
2020-11-27 15:09:34 +00:00
|
|
|
query getPipelineDetails($projectPath: ID!, $iid: ID!) {
|
|
|
|
project(fullPath: $projectPath) {
|
2021-01-19 12:10:46 +00:00
|
|
|
__typename
|
2021-11-30 15:14:19 +00:00
|
|
|
id
|
2020-11-27 15:09:34 +00:00
|
|
|
pipeline(iid: $iid) {
|
2021-01-19 12:10:46 +00:00
|
|
|
__typename
|
2020-12-07 15:09:49 +00:00
|
|
|
id
|
|
|
|
iid
|
2021-05-14 12:10:58 +00:00
|
|
|
complete
|
2021-04-13 18:11:28 +00:00
|
|
|
usesNeeds
|
2021-06-17 18:10:22 +00:00
|
|
|
userPermissions {
|
|
|
|
updatePipeline
|
|
|
|
}
|
2020-12-07 15:09:49 +00:00
|
|
|
downstream {
|
2021-01-19 12:10:46 +00:00
|
|
|
__typename
|
2020-12-07 15:09:49 +00:00
|
|
|
nodes {
|
|
|
|
...LinkedPipelineData
|
|
|
|
}
|
|
|
|
}
|
|
|
|
upstream {
|
|
|
|
...LinkedPipelineData
|
|
|
|
}
|
2020-11-27 15:09:34 +00:00
|
|
|
stages {
|
2021-01-19 12:10:46 +00:00
|
|
|
__typename
|
2020-11-27 15:09:34 +00:00
|
|
|
nodes {
|
2021-01-19 12:10:46 +00:00
|
|
|
__typename
|
2021-11-30 15:14:19 +00:00
|
|
|
id
|
2020-11-27 15:09:34 +00:00
|
|
|
name
|
|
|
|
status: detailedStatus {
|
2021-01-19 12:10:46 +00:00
|
|
|
__typename
|
2021-11-30 15:14:19 +00:00
|
|
|
id
|
2020-11-27 15:09:34 +00:00
|
|
|
action {
|
2021-01-19 12:10:46 +00:00
|
|
|
__typename
|
2021-11-30 15:14:19 +00:00
|
|
|
id
|
2020-11-27 15:09:34 +00:00
|
|
|
icon
|
|
|
|
path
|
|
|
|
title
|
|
|
|
}
|
|
|
|
}
|
|
|
|
groups {
|
2021-01-19 12:10:46 +00:00
|
|
|
__typename
|
2020-11-27 15:09:34 +00:00
|
|
|
nodes {
|
2021-01-19 12:10:46 +00:00
|
|
|
__typename
|
2021-11-30 15:14:19 +00:00
|
|
|
id
|
2020-11-27 15:09:34 +00:00
|
|
|
status: detailedStatus {
|
2021-01-19 12:10:46 +00:00
|
|
|
__typename
|
2021-11-30 15:14:19 +00:00
|
|
|
id
|
2020-11-27 15:09:34 +00:00
|
|
|
label
|
|
|
|
group
|
|
|
|
icon
|
|
|
|
}
|
|
|
|
name
|
|
|
|
size
|
|
|
|
jobs {
|
2021-01-19 12:10:46 +00:00
|
|
|
__typename
|
2020-11-27 15:09:34 +00:00
|
|
|
nodes {
|
2021-01-19 12:10:46 +00:00
|
|
|
__typename
|
2021-11-30 15:14:19 +00:00
|
|
|
id
|
2020-11-27 15:09:34 +00:00
|
|
|
name
|
2022-05-12 18:08:38 +00:00
|
|
|
kind
|
2020-11-27 15:09:34 +00:00
|
|
|
scheduledAt
|
|
|
|
needs {
|
2021-01-19 12:10:46 +00:00
|
|
|
__typename
|
2020-11-27 15:09:34 +00:00
|
|
|
nodes {
|
2021-01-19 12:10:46 +00:00
|
|
|
__typename
|
2021-11-30 15:14:19 +00:00
|
|
|
id
|
2020-11-27 15:09:34 +00:00
|
|
|
name
|
|
|
|
}
|
|
|
|
}
|
2021-12-21 09:14:14 +00:00
|
|
|
previousStageJobsOrNeeds {
|
|
|
|
__typename
|
|
|
|
nodes {
|
|
|
|
...CiNeeds
|
|
|
|
}
|
|
|
|
}
|
2020-11-27 15:09:34 +00:00
|
|
|
status: detailedStatus {
|
2021-01-19 12:10:46 +00:00
|
|
|
__typename
|
2021-11-30 15:14:19 +00:00
|
|
|
id
|
2020-11-27 15:09:34 +00:00
|
|
|
icon
|
|
|
|
tooltip
|
|
|
|
hasDetails
|
|
|
|
detailsPath
|
|
|
|
group
|
2022-01-31 21:14:51 +00:00
|
|
|
label
|
2020-11-27 15:09:34 +00:00
|
|
|
action {
|
2021-01-19 12:10:46 +00:00
|
|
|
__typename
|
2021-11-30 15:14:19 +00:00
|
|
|
id
|
2020-11-27 15:09:34 +00:00
|
|
|
buttonTitle
|
|
|
|
icon
|
|
|
|
path
|
|
|
|
title
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|