Download test
This commit is contained in:
parent
873cd116a1
commit
247e62f3e5
1 changed files with 4 additions and 1 deletions
|
@ -25,4 +25,7 @@ build-package:
|
||||||
artifact_download:
|
artifact_download:
|
||||||
stage: artifact-download
|
stage: artifact-download
|
||||||
script:
|
script:
|
||||||
- 'curl --location --output 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/main/download?job=build-package"'
|
||||||
|
- cd ~/builds/downloaded_artifacts
|
||||||
|
- unzip artifacts.zip
|
||||||
|
- rm artifacts.zip
|
Loading…
Add table
Reference in a new issue