Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app/graphql/queries/pipelines/get_pipeline_details.query.graphql')
-rw-r--r--app/graphql/queries/pipelines/get_pipeline_details.query.graphql21
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