O Que É CI_PIPELINE_ID?
CI_PIPELINE_ID é o identificador único em toda a instância para a pipeline.
CI_PIPELINE_ID é único em toda a instância do GitLab, o que o torna a chave certa para chamadas de API e referências entre projetos.
vs CI_PIPELINE_IID
CI_PIPELINE_IID é um contador por projeto exibido na UI; CI_PIPELINE_ID é globalmente único.
Principais conclusões
- CI_PIPELINE_ID é único em toda a instância.
- CI_PIPELINE_IID é o número por projeto.
- Use o ID para chamadas de API.
Guias relacionados
What Is CI_PIPELINE_IID?CI_PIPELINE_IID is the per-project pipeline number in GitLab CI. Learn how it is used as a build number.
What Is CI_PIPELINE_SOURCE?CI_PIPELINE_SOURCE is how a GitLab CI pipeline was triggered: push, merge_request_event, schedule, and more.…
What Is a CI/CD Pipeline?A CI/CD pipeline is an automated path from code commit to production. Learn what a pipeline is, why it exists…