Cannot download job artifacts per SHA ref
The job artifacts documentation explains fixed URLs to download job artifacts.
However, using a SHA as <ref> does not work.
Example:
- https://gitlab.com/gitlab-org/gitlab-ce/-/jobs/artifacts/master/download?job=compile-assets works (at least at the time of writing, the current master has this artifact available)
- https://gitlab.com/gitlab-org/gitlab-ce/-/jobs/artifacts/103a631b8d9c24c5d25d17f436345d79e2b93871/download?job=compile-assets does not work, despite the artifact being available here: https://gitlab.com/gitlab-org/gitlab-ce/-/jobs/232360810 (at the time of writing, the artifacts were not yet expired)
I just randomly selected this commit, you can try an arbitrary, up-to-date one.
Digging in the code, the inline comment states that SHAs should be possible: https://gitlab.com/gitlab-org/gitlab-ce/blob/master/app/models/project.rb#L726