Skip to content
Latchkey

What Is CI_PIPELINE_IID?

CI_PIPELINE_IID is the project-scoped, incrementing pipeline number you see in the GitLab UI.

CI_PIPELINE_IID is the friendly counter teams use for human-readable build numbers, unlike the opaque CI_PIPELINE_ID.

Use

Embed it in a version string like 1.4.${CI_PIPELINE_IID} for readable build identifiers.

Key takeaways

  • CI_PIPELINE_IID is the per-project counter.
  • Good for human build numbers.
  • CI_PIPELINE_ID is the unique key.

Related guides

Tired of flaky CI? Latchkey auto-heals failed jobs and retries them for you. Start free →