According to the docs – there is a static endpoint that can be used to download artifacts for the latest successful pipeline
https://example.com/<namespace>/<project>/-/jobs/artifacts/<ref>/raw/<path_to_file>?job=<job_name>
This URL is useful for showing custom badges created by jobs. Unfortunately, since this endpoint resolves to the latest successful pipeline, it can’t be used to show “failed” badges when a job fails on a pipeline.
Is there a static endpoint that can be used to download artifacts from the latest Pipeline, regardless of whether it succeeded or not?