Skip to content

ci.metrics.record

Record this job's run: its half, the run's row, the refs dropped when last.

The last entry of every job of a point with no gate job (the nightly, the release, a point a package contributes). The half is the union of the traces the job's entries left in its profile box, put on the job's per-run ref; the collect then writes the run's row from every half present, so each job's write carries the jobs before it; the drop takes the refs once every job of the point has completed green. Fails open loudly: every reason is printed and the exit stays 0.

Hidden: this task is not listed by fm --list, --tree or completion — it runs like any other when named.

fm ci.metrics.record [--point=VALUE] [--job=VALUE]
Parameter Type Default Description
--point=VALUE "" the point this job belongs to
--job=VALUE "" this job's name as the forge lists it

Example

$ fm ci.metrics.record