[Gitlab CI] multiple `artifacts:` in a job are not supported
Hello!
As per gitlab-org/gitlab#18744 multiple artifacts
in a job are not supported. It seems Gitlab CI only picks up the last artifact
entry from the job description.
This also explains why there are no artifacts being generated for the Debian/HTTP2 jobs. That's because when: on_success
artifacts entry comes after on_failure
entry and so on_failure
artifacts entry gets completely ignored.
The temporary workaround is to make sure that each job has single artifacts
statement.
Other have found workarounds using cache
to generate artifacts on_failure as well as on_success which we might need in Full+VPATH/Debian job which also has 2 artifacts
sections.
I'm still reading through Gitlab docs to find the best way possible...
Edited by Avinash Sonawane