2022-03-02 08:16:31 +05:30
|
|
|
fragment CiNeeds on JobNeedUnion {
|
|
|
|
...CiBuildNeedFields
|
|
|
|
...CiJobNeedFields
|
|
|
|
}
|
|
|
|
|
|
|
|
fragment CiBuildNeedFields on CiBuildNeed {
|
|
|
|
id
|
|
|
|
name
|
|
|
|
}
|
|
|
|
|
|
|
|
fragment CiJobNeedFields on CiJob {
|
|
|
|
id
|
|
|
|
name
|
|
|
|
}
|
|
|
|
|
2021-03-08 18:12:59 +05:30
|
|
|
fragment LinkedPipelineData on Pipeline {
|
|
|
|
__typename
|
|
|
|
id
|
|
|
|
iid
|
|
|
|
path
|
|
|
|
status: detailedStatus {
|
|
|
|
__typename
|
2022-01-26 12:08:38 +05:30
|
|
|
id
|
2021-03-08 18:12:59 +05:30
|
|
|
group
|
|
|
|
label
|
|
|
|
icon
|
|
|
|
}
|
|
|
|
sourceJob {
|
|
|
|
__typename
|
2022-01-26 12:08:38 +05:30
|
|
|
id
|
2021-03-08 18:12:59 +05:30
|
|
|
name
|
|
|
|
}
|
|
|
|
project {
|
|
|
|
__typename
|
2022-01-26 12:08:38 +05:30
|
|
|
id
|
2021-03-08 18:12:59 +05:30
|
|
|
name
|
|
|
|
fullPath
|
|
|
|
}
|
|
|
|
}
|
2021-02-22 17:27:13 +05:30
|
|
|
|
|
|
|
query getPipelineDetails($projectPath: ID!, $iid: ID!) {
|
|
|
|
project(fullPath: $projectPath) {
|
2021-03-08 18:12:59 +05:30
|
|
|
__typename
|
2022-01-26 12:08:38 +05:30
|
|
|
id
|
2021-02-22 17:27:13 +05:30
|
|
|
pipeline(iid: $iid) {
|
2021-03-08 18:12:59 +05:30
|
|
|
__typename
|
2021-02-22 17:27:13 +05:30
|
|
|
id
|
|
|
|
iid
|
2021-06-08 01:23:25 +05:30
|
|
|
complete
|
2021-04-29 21:17:54 +05:30
|
|
|
usesNeeds
|
2021-09-30 23:02:18 +05:30
|
|
|
userPermissions {
|
|
|
|
updatePipeline
|
|
|
|
}
|
2021-02-22 17:27:13 +05:30
|
|
|
downstream {
|
2021-03-08 18:12:59 +05:30
|
|
|
__typename
|
2021-02-22 17:27:13 +05:30
|
|
|
nodes {
|
|
|
|
...LinkedPipelineData
|
|
|
|
}
|
|
|
|
}
|
|
|
|
upstream {
|
|
|
|
...LinkedPipelineData
|
|
|
|
}
|
|
|
|
stages {
|
2021-03-08 18:12:59 +05:30
|
|
|
__typename
|
2021-02-22 17:27:13 +05:30
|
|
|
nodes {
|
2021-03-08 18:12:59 +05:30
|
|
|
__typename
|
2022-01-26 12:08:38 +05:30
|
|
|
id
|
2021-02-22 17:27:13 +05:30
|
|
|
name
|
|
|
|
status: detailedStatus {
|
2021-03-08 18:12:59 +05:30
|
|
|
__typename
|
2022-01-26 12:08:38 +05:30
|
|
|
id
|
2021-02-22 17:27:13 +05:30
|
|
|
action {
|
2021-03-08 18:12:59 +05:30
|
|
|
__typename
|
2022-01-26 12:08:38 +05:30
|
|
|
id
|
2021-02-22 17:27:13 +05:30
|
|
|
icon
|
|
|
|
path
|
|
|
|
title
|
|
|
|
}
|
|
|
|
}
|
|
|
|
groups {
|
2021-03-08 18:12:59 +05:30
|
|
|
__typename
|
2021-02-22 17:27:13 +05:30
|
|
|
nodes {
|
2021-03-08 18:12:59 +05:30
|
|
|
__typename
|
2022-01-26 12:08:38 +05:30
|
|
|
id
|
2021-02-22 17:27:13 +05:30
|
|
|
status: detailedStatus {
|
2021-03-08 18:12:59 +05:30
|
|
|
__typename
|
2022-01-26 12:08:38 +05:30
|
|
|
id
|
2021-02-22 17:27:13 +05:30
|
|
|
label
|
|
|
|
group
|
|
|
|
icon
|
|
|
|
}
|
|
|
|
name
|
|
|
|
size
|
|
|
|
jobs {
|
2021-03-08 18:12:59 +05:30
|
|
|
__typename
|
2021-02-22 17:27:13 +05:30
|
|
|
nodes {
|
2021-03-08 18:12:59 +05:30
|
|
|
__typename
|
2022-01-26 12:08:38 +05:30
|
|
|
id
|
2021-02-22 17:27:13 +05:30
|
|
|
name
|
|
|
|
scheduledAt
|
|
|
|
needs {
|
2021-03-08 18:12:59 +05:30
|
|
|
__typename
|
2021-02-22 17:27:13 +05:30
|
|
|
nodes {
|
2021-03-08 18:12:59 +05:30
|
|
|
__typename
|
2022-01-26 12:08:38 +05:30
|
|
|
id
|
2021-02-22 17:27:13 +05:30
|
|
|
name
|
|
|
|
}
|
|
|
|
}
|
2022-03-02 08:16:31 +05:30
|
|
|
previousStageJobsOrNeeds {
|
|
|
|
__typename
|
|
|
|
nodes {
|
|
|
|
...CiNeeds
|
|
|
|
}
|
|
|
|
}
|
2021-02-22 17:27:13 +05:30
|
|
|
status: detailedStatus {
|
2021-03-08 18:12:59 +05:30
|
|
|
__typename
|
2022-01-26 12:08:38 +05:30
|
|
|
id
|
2021-02-22 17:27:13 +05:30
|
|
|
icon
|
|
|
|
tooltip
|
|
|
|
hasDetails
|
|
|
|
detailsPath
|
|
|
|
group
|
2022-04-04 11:22:00 +05:30
|
|
|
label
|
2021-02-22 17:27:13 +05:30
|
|
|
action {
|
2021-03-08 18:12:59 +05:30
|
|
|
__typename
|
2022-01-26 12:08:38 +05:30
|
|
|
id
|
2021-02-22 17:27:13 +05:30
|
|
|
buttonTitle
|
|
|
|
icon
|
|
|
|
path
|
|
|
|
title
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|