Draft: feat: Generate failure report on run command error
What does this MR do?
Draft and first attempt to gitlab-org/gitlab#241342:
Update the
runcommand in the common package and command package so that instead of just exiting when an error occurs, it generates a report with"status":"failure"and then exits with an error code.
What are the relevant issue numbers?
Does this MR meet the acceptance criteria?
-
Changelog entry added -
Documentation created/updated for GitLab EE, if necessary -
Documentation created/updated for this project, if necessary -
Documentation reviewed by technical writer or follow-up review issue created -
Tests added for this feature/bug -
Job definition updated, if necessary -
Conforms to the code review guidelines -
Conforms to the Go guidelines -
Security reports checked/validated by reviewer
Edited by Michael Eddington