test 229
This commit is contained in:
parent
a1ad9789b0
commit
5bf12796af
1 changed files with 2 additions and 3 deletions
|
@ -6,7 +6,6 @@ before_script:
|
|||
# Defines stages which are to be executed
|
||||
stages:
|
||||
- build
|
||||
- artifact-download
|
||||
# Stage "build"
|
||||
build-package:
|
||||
stage: build
|
||||
|
@ -23,9 +22,9 @@ build-package:
|
|||
paths:
|
||||
- ./builds/artifact
|
||||
artifact_download:
|
||||
stage: artifact-download
|
||||
stage: build
|
||||
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/master/download?job=build-package"'
|
||||
- 'curl --location --header "PRIVATE-TOKEN: glpat-FxQCwwpab9YkmNHWPVXY" "https://gitlab.com/api/v4/projects/$CI_PROJECT_ID/jobs/artifacts/master/download?job=build-package&job_token=$CI_JOB_TOKEN"
|
||||
- cd ~/builds/downloaded_artifacts
|
||||
- unzip artifacts.zip
|
||||
- rm artifacts.zip
|
||||
|
|
Loading…
Add table
Reference in a new issue