CI artifacts are not made for `allow_failure: false` jobs that fail
Summary
I have an allow_failure: true
job (it runs testing). I have a followup job that collects coverage information from the test run. However, if the tests fail, the artifacts to send the coverage information to the next job is not performed.
Steps to reproduce
somejob:
script:
- touch out
- false
allow_failure: true
artifacts:
paths:
- out
depjob:
script:
- cat out
dependencies:
- somejob
needs:
- somejob
Example Project
https://gitlab.kitware.com/ben.boeckel/smtk/-/jobs/4697489
What is the current bug behavior?
Artifact creation depends on the script status.
What is the expected correct behavior?
Artifacts should not care about script status if allow_failure: true
is set.
Edited by Ben Boeckel