

You can download the artifacts archive for a specific job with the job artifacts API.įor example, to download the latest artifacts of a job named build in the main branch of a project on : Download the whole artifacts archive for a specific job Unless the report is added as a regular artifact with artifacts:paths. You cannot download artifact reports with the job artifacts API, You can download job artifacts from the latest successful pipeline by using the job artifacts API. Job with the same name, the job artifact from the parent pipeline is returned. For example, if both parent and child pipelines have a How searching for job artifacts worksįor parent and child pipelines are searched in hierarchical Private token to authenticate and download To retrieve a job artifact from a different project, you might need to use a Test : script : artifacts : expose_as : ' artifact 1' paths : Retrieve job artifacts for other projects Job configured with needs:pipeline:job Job artifacts.Error message This job could not start because it could not retrieve the needed artifacts.Error message FATAL: invalid argument when uploading a dotenv artifact on a windows runner.Error message Missing /usr/bin/gitlab-runner-helper.Job artifacts using too much disk space.

Job does not retrieve certain artifacts.Keep artifacts from most recent successful jobs.Download a single file from the artifacts.Download the whole artifacts archive for a specific job.Retrieve job artifacts for other projects.Expose job artifacts in the merge request UI.Use CI/CD variables to define the artifacts name.
