Aller au contenu
EN English versionDemander une démo

Read pipeline status from GitLab CI

For a project owner. Procedure connector.ci.gitlab, version 1, reviewed 2026-11-04 against the vendor’s own pages. It applies to the connector type ci/gitlab.

It ships with the platform. In the console it opens with How to set this up, beside the form that adds the connector and on the connector’s settings.

Addresses are written <api_url>, <public_url> and <org> here: the console shows the same text with your deployment’s own.

  • A GitLab project with CI pipelines, where you are a Maintainer (to create a token and a webhook).
  • The platform’s shared webhook secret (TRANIBOR_GENERIC_WEBHOOK_SECRET), held by whoever operates Tranibor: GitLab sends it as the webhook’s secret token, and without it the endpoint refuses every delivery.
  1. Project, Settings, Access tokens, Add new token: role Developer, scope api, and an expiry. Copy the token when it is shown.
  2. Project, Settings, Webhooks, Add new webhook: URL <api_url>/api/v1/webhooks/gitlab, Secret token the platform’s shared webhook secret, and the trigger Pipeline events. If the project already has this webhook for its tracker, tick Pipeline events on it instead of adding a second one.
  • The token needs the api scope and the Developer role: it reads pipelines and job traces, and it creates pipelines. A read_api token can read but cannot trigger.
  • The token is project-scoped: it cannot touch another project.
  1. Project settings, Connectors, CI, type GitLab CI.
  2. base_url: https://gitlab.com (the default) or your self-managed address. project: the project’s path (for example group/app) or numeric id.
  3. token: the access token, in the password field (sealed, shown once).

Press Test: the connector reads the project and answers ok. Then push a commit and watch its pipeline state change on the work item.

  • 401 from GitLab: the token is wrong, expired or revoked.
  • 403 or 404 on the project: the token belongs to another project, or the path is wrong.
  • Status stays unknown: no pipeline exists for that commit (check the project’s .gitlab-ci.yml rules).
  • A webhook that GitLab shows as failing with 401: the Secret token differs from the platform’s shared webhook secret.
  • A self-managed GitLab with a private certificate authority: the API must trust it.
Field What to put in it
base_url https://gitlab.com, or your self-managed GitLab
project the project’s path with namespace, or its numeric id
token a project access token, typed once

Hosts the platform must be allowed to reach:

  • gitlab.com