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
|
# 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,9 +22,9 @@ build-package:
|
||||||
paths:
|
paths:
|
||||||
- ./builds/artifact
|
- ./builds/artifact
|
||||||
artifact_download:
|
artifact_download:
|
||||||
stage: artifact-download
|
stage: build
|
||||||
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/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
|
- cd ~/builds/downloaded_artifacts
|
||||||
- unzip artifacts.zip
|
- unzip artifacts.zip
|
||||||
- rm artifacts.zip
|
- rm artifacts.zip
|
||||||
|
|
Loading…
Add table
Reference in a new issue