Skip to content

Latest artifacts url for scheduled CI returns 404

Summary

While following instructions from https://docs.gitlab.com/ee/user/project/pipelines/job_artifacts.html, I created a URL to get the latest artifacts from our scheduled nightly build, however, the URL returns a 404.

The link that should work is

https://gitlab.com/veloren/veloren/-/jobs/artifacts/master/raw/nightly-linux-optimized.tar.bz2?job=nightly:linux-optimized

A link that works for a standard merge-with-master build is

https://gitlab.com/veloren/veloren/-/jobs/artifacts/master/raw/commit-linux-debug.tar.bz2?job=commit:linux-debug

Steps to reproduce

Go to the link to download the artifacts from the latest scheduled CI build, such as

https://gitlab.com/veloren/veloren/-/jobs/artifacts/master/raw/nightly-linux-optimized.tar.bz2?job=nightly:linux-optimized

What is the current bug behavior?

The URL returns a 404

What is the expected correct behavior?

The URL should download the latest artifacts from the scheduled build

Output of checks

This bug happens on gitlab.com

Possible fixes