Job status is overwritable with the commit statuses API
GIVEN a merge request with a failed job in a pipeline
WHEN a Developer creates a status on the last merge request commit with the same failed job's name
POST /api/v4/projects/:id/statuses/:sha {"name": "check", "state": "success"}
THEN pipeline is updated: failed job disappear and a new success external status is created
The merge request becomes mergeable and pipeline result representation shows a failed but empty badge
EXPECTED jobs status shall not be overwritable with the commit statuses API. Only External Status shall be.
GitLab Enterprise Edition 11.10.4-ee
Edited by Vincent Bisserié


