debian-mirror-gitlab/app/assets/javascripts/jobs/bridge/graphql/queries/pipeline.query.graphql
2022-03-02 08:16:31 +05:30

70 lines
1.2 KiB
GraphQL

query getPipelineData($fullPath: ID!, $iid: ID!) {
project(fullPath: $fullPath) {
id
pipeline(iid: $iid) {
id
iid
path
sha
ref
refPath
commit {
id
shortId
title
webPath
}
detailedStatus {
id
icon
group
}
stages {
edges {
node {
id
name
jobs {
nodes {
id
createdAt
name
scheduledAt
startedAt
status
triggered
detailedStatus {
id
detailsPath
icon
group
text
tooltip
}
downstreamPipeline {
id
path
}
stage {
id
name
}
}
}
}
}
}
user {
id
avatarUrl
name
username
webPath
webUrl
status {
message
}
}
}
}
}