Answer the question
In order to leave comments, you need to log in
GitLab Why does an artifact download from one branch of the same Repo, but not from another?
To implement a specific task in the GitlabCI Pipeline , you
need to download the artifact from the child job
curl -L --header "PRIVATE-TOKEN: YOUR-TOKEN" "https://gitlab.com/api/v4/projects/11111/jobs/artifacts/cicd/download?job=integration_test" --output artifacts.zip
curl -L --header "PRIVATE-TOKEN: YOUR-TOKEN" "https://gitlab.com/api/v4/projects/11111/jobs/artifacts/dev/download?job=integration_test" --output artifacts.zip
Answer the question
In order to leave comments, you need to log in
is not downloadable because there was not a single completed pipeline in the dev branch
and this means that it is impossible to use the API method
GET /projects/:id/jobs/artifacts/:ref_name/downloa...
BUT
there is another method that I described in the
Gitlab CI article "Smart" Pipeline: parents and children
decide whether or not to put their vote, but each + helps to get out of the minus)
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question