executions_finish
Mark an execution as completed by setting its state to DONE and recording the timestamp and executor. Requires the execution to be in progress.
Instructions
Finish an execution
Tag: Executions
Sets the execution state to DONE and records executedAt and executedBy. Allowed only when the current state is IN_PROGRESS — returns 400 for WAITING, PAUSED or DONE, when its parent tests cycle is FINISHED, or when the execution's statusId is still "Em aberto" (NOT_EXECUTED) — a verdict must be set first.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes |