Problem to solve
Hello, I want to download the latest artifact using a personal access token from a specific branch.
curl --http1.1 --output artifacts.zip --location --header "PRIVATE-TOKEN: $ACCESS_TOKEN" "https://gitlab.com/api/v4/projects/1/jobs/artifacts/ci-pipeline/raw/*?job=package"
I get this error:
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 2 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
curl: (18) transfer closed with 2 bytes remaining to read
Versions
- GitLab.com SaaS
Thank you for your help