Get job artifact
gitlab_get_job_artifactDownload a GitLab CI artifact by job ID. Retrieve a specific file like a screenshot or coverage badge as a viewable image, or fetch the entire archive.
Instructions
Downloads a CI artifact. A single image path (Playwright/Cypress screenshot, coverage badge) comes back as a viewable image.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| job_id | Yes | ||
| project_id | No | Project id or URL-encoded path, e.g. `42` or `group/subgroup/project`. Falls back to GITLAB_PROJECT_ID. | |
| artifact_path | No | Path inside the artifacts archive, e.g. `screenshots/login.png`. Omit to download the whole archive. |