Artifact downloads between pipelines in the same project don't work

Artifact downloads between pipelines in the same project don’t work

Followed needs description at
https://docs.gitlab.com/ee/ci/yaml/#artifact-downloads-between-pipelines-in-the-same-project

  • made sure there an artifact for a specific job and a specific tag
  • put it as a dependency with
  needs:
    - project: my_group/my_project  
      job: my_job_producing_the_artifact
      ref: my_tag
      artifacts: true
  • run the pipeline

  • observed the error message saying
    “This job depends on other jobs with expired/erased artifacts:
    Please refer to https://docs.gitlab.com/ce/ci/yaml/README.html#dependencies

  • version: GitLab Enterprise Edition 13.2.0-pre, the one publicly hosted at gitlab.org

  • printed group, project, ref in the job building the artifact and in the job depending on it - everything fits

  • the project is private, didn’t check with a public one