I have a CI pipeline, with a parent-children format but I believe this hierarchy is not affecting the case. In the child pipeline, there’s a stage where multiple jobs are run in parallel, and the next stage starts after all finishes (successfully or not, as I’ve enabled allow_failure
for different jobs in the former stage, and the latter stage has needs
with optional
enabled).
I would like to control the status of the parallel jobs. These actually run on small clusters of data, and before completing the process, I know how many passed. I would like to return different exit codes (say, 3 different codes for all passed, at least one passed, all failed). I can return 0/1/2, or any code of my choice, but as far as I can see, differentiation between complete or partial failure is not possible.
Question: Is there some other feature which can handle this? Is it possible to show a status of my choice, or some other way to handle these in exit_codes
option?