Skip to content

GraphQL: Allow to request pipelines by id

Gitlab mostly refers to pipelines by their gid/id, so allow this api to
also be called by id. This feature is already present in the REST api.

This allows us to query:

query MyQuery {
  project(fullPath: "jashkenas/Underscore") {
    pipeline(id: "616") {
      active
      child
      complete
      id
      iid
    }
        name
  }
}

closes: #366637

Signed-off-by: Lucas Zampieri lzampier@redhat.com

Edited by Lucas Zampieri

Merge request reports