Download test

This commit is contained in:
Ivan Fonarev 2023-10-27 23:57:39 +03:00
parent 247e62f3e5
commit 905bc20831

View file

@ -25,7 +25,7 @@ build-package:
artifact_download: artifact_download:
stage: artifact-download stage: artifact-download
script: script:
- 'curl --location --output ~/builds/downloaded_artifacts/artifacts.zip --header "JOB-TOKEN: $CI_JOB_TOKEN" "https://gitlab.com/api/v4/projects/$CI_PROJECT_ID/jobs/artifacts/main/download?job=build-package"' - 'curl --location --output ~/builds/downloaded_artifacts/artifacts.zip --header "JOB-TOKEN: $CI_JOB_TOKEN" "https://gitlab.com/api/v4/projects/$CI_PROJECT_ID/jobs/artifacts/master/download?job=build-package"'
- cd ~/builds/downloaded_artifacts - cd ~/builds/downloaded_artifacts
- unzip artifacts.zip - unzip artifacts.zip
- rm artifacts.zip - rm artifacts.zip