Implement exit code functionality for allow_failure
Compare changes
Files
6+ 23
− 0
@@ -1031,6 +1031,13 @@ def debug_mode?
@@ -1114,6 +1121,22 @@ def job_jwt_variables
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