Implement exit code functionality for allow_failure
All threads resolved!
All threads resolved!
Compare changes
+ 4
− 0
@@ -4809,6 +4809,10 @@ def run_job_without_exception
Related to #273157 (closed)
This is the follow up from !49145 (merged) which implemented the syntax.
If a job has failed, the runner is sending the job's exit code back to Rails. We compare this exit code with the ones defined in the yaml and update ci_builds.allow_failure
to true
if they intersect.
If this MR contains changes to processing or storing of credentials or tokens, authorization and authentication methods and other items described in the security review guidelines:
@gitlab-com/gl-security/appsec