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/assets/javascripts/pipelines/graphql/queries/get_linked_pipelines.query.graphql')
-rw-r--r--app/assets/javascripts/pipelines/graphql/queries/get_linked_pipelines.query.graphql43
1 files changed, 43 insertions, 0 deletions
diff --git a/app/assets/javascripts/pipelines/graphql/queries/get_linked_pipelines.query.graphql b/app/assets/javascripts/pipelines/graphql/queries/get_linked_pipelines.query.graphql
new file mode 100644
index 00000000000..9257cc7de7b
--- /dev/null
+++ b/app/assets/javascripts/pipelines/graphql/queries/get_linked_pipelines.query.graphql
@@ -0,0 +1,43 @@
+query getLinkedPipelines($fullPath: ID!, $iid: ID!) {
+ project(fullPath: $fullPath) {
+ id
+ pipeline(iid: $iid) {
+ id
+ path
+ downstream {
+ nodes {
+ id
+ path
+ project {
+ id
+ name
+ }
+ detailedStatus {
+ id
+ group
+ icon
+ label
+ }
+ sourceJob {
+ id
+ retried
+ }
+ }
+ }
+ upstream {
+ id
+ path
+ project {
+ id
+ name
+ }
+ detailedStatus {
+ id
+ group
+ icon
+ label
+ }
+ }
+ }
+ }
+}