diff options
Diffstat (limited to 'app/graphql/queries/pipelines')
-rw-r--r-- | app/graphql/queries/pipelines/get_pipeline_details.query.graphql | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/app/graphql/queries/pipelines/get_pipeline_details.query.graphql b/app/graphql/queries/pipelines/get_pipeline_details.query.graphql index dd5c9e07488..5dece2f81cc 100644 --- a/app/graphql/queries/pipelines/get_pipeline_details.query.graphql +++ b/app/graphql/queries/pipelines/get_pipeline_details.query.graphql @@ -1,3 +1,18 @@ +fragment CiNeeds on JobNeedUnion { + ...CiBuildNeedFields + ...CiJobNeedFields +} + +fragment CiBuildNeedFields on CiBuildNeed { + id + name +} + +fragment CiJobNeedFields on CiJob { + id + name +} + fragment LinkedPipelineData on Pipeline { __typename id @@ -91,6 +106,12 @@ query getPipelineDetails($projectPath: ID!, $iid: ID!) { name } } + previousStageJobsOrNeeds { + __typename + nodes { + ...CiNeeds + } + } status: detailedStatus { __typename id |