Download test
This commit is contained in:
parent
0be02e2613
commit
873cd116a1
1 changed files with 3 additions and 3 deletions
|
@ -6,7 +6,7 @@ before_script:
|
||||||
# Defines stages which are to be executed
|
# Defines stages which are to be executed
|
||||||
stages:
|
stages:
|
||||||
- build
|
- build
|
||||||
|
- artifact-download
|
||||||
# Stage "build"
|
# Stage "build"
|
||||||
build-package:
|
build-package:
|
||||||
stage: build
|
stage: build
|
||||||
|
@ -23,6 +23,6 @@ build-package:
|
||||||
paths:
|
paths:
|
||||||
- ./builds/artifact
|
- ./builds/artifact
|
||||||
artifact_download:
|
artifact_download:
|
||||||
stage: test
|
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"'
|
- '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"'
|
Loading…
Add table
Reference in a new issue