Commit 13756be7 authored by Denis Karpenok (EPAM)'s avatar Denis Karpenok (EPAM)
Browse files

Update .gitlab-ci.yml

parent 1310e6d9
Pipeline #70066 passed with stages
in 2 minutes and 11 seconds
......@@ -44,11 +44,11 @@ copy-artifacts:
- parent-pipeline.json
when: always
script:
- curl --output parent-pipeline.json "$CI_SERVER_URL/$CI_PROJECT_PATH/-/pipelines/$CI_PIPELINE_ID.json"
- curl -k --output parent-pipeline.json "$CI_SERVER_URL/$CI_PROJECT_PATH/-/pipelines/$CI_PIPELINE_ID.json"
- CHILD_ID=$(jq .triggered[].id < parent-pipeline.json); echo "$CHILD_ID"
- SUMMARIZE_JOB_ID=$(curl "$CI_API_V4_URL/projects/$CI_PROJECT_ID/pipelines/$CHILD_ID/jobs" | jq '.[] | select(.name=="summarize").id'); echo "$SUMMARIZE_JOB_ID"
- curl --output child-artifacts.zip "$CI_API_V4_URL/projects/$CI_PROJECT_ID/jobs/$SUMMARIZE_JOB_ID/artifacts"
- SUMMARIZE_JOB_ID=$(curl -k "$CI_API_V4_URL/projects/$CI_PROJECT_ID/pipelines/$CHILD_ID/jobs" | jq '.[] | select(.name=="summarize").id'); echo "$SUMMARIZE_JOB_ID"
- curl -k --output child-artifacts.zip "$CI_API_V4_URL/projects/$CI_PROJECT_ID/jobs/$SUMMARIZE_JOB_ID/artifacts"
# --------------------------------------------------------------------------------
# Extract the archive zip
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment