You need to sign in or sign up before continuing.
Distinguish retry events in job webhook payload
Release notes
Problem to solve
The payload received from the jobs event webhook has no way to identify when a job is a retry.
Proposal
Add a key called retries_count
to the job event webhook payload. The value will be 1
for the first retry of the job, 2
for the second retry, and so on. It will be 0
when the job is not a retry.
The Ci::Build
model has a retries_count
method that returns the number of times the job has been retried.
Implemented
retries_count
has been added to the job event webhook payload. It is currently behind a FF called job_webhook_retries_count
. This is the rollout issue: #382046 (closed).
Intended users
Feature Usage Metrics
Edited by Reuben Pereira