Support CI_JOB_TOKEN to download a single artifact file via Jobs API
Problem to solve
Downloading a single artifact with $CI_JOB_TOKEN
.
Intended users
Developer
Further details
Currently, the Jobs API to download a single artifact
does not support using $CI_JOB_TOKEN
.
To get only one artifact via the API, we need to either use personal access token or download the whole artifacts.zip
with API that support $CI_JOB_TOKEN
.