Commit 962f7c6b authored by Thomas Beermann's avatar Thomas Beermann
Browse files

add jq

parent bd5f706b
Pipeline #94517 passed with stages
in 10 minutes and 24 seconds
......@@ -77,7 +77,7 @@ trigger_deploy_mr:
stage: deploy
image: alpine:3.14.0
before_script:
- apk add curl
- apk add curl jq
script:
- 'curl -X POST -F token=$GITLAB_DESY_TOKEN -F ref=main --form "variables[CI_COMMIT_REF_NAME]=$CI_COMMIT_REF_NAME" --form "variables[CI_MERGE_REQUEST_IID]=$CI_MERGE_REQUEST_IID" --form "variables[CP_COMPONENT]=webapp" $GITLAB_DESY_URL > /tmp/out.json'
- pipelineurl=$(jq .web_url /tmp/out.json)
......@@ -89,7 +89,7 @@ trigger_deploy_master:
stage: deploy
image: alpine:3.14.0
before_script:
- apk add curl
- apk add curl jq
script:
- 'curl -X POST -F token=$GITLAB_DESY_TOKEN -F ref=main --form "variables[CP_COMPONENT]=int" $GITLAB_DESY_URL > /tmp/out.json'
- pipelineurl=$(jq .web_url /tmp/out.json)
......
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