remove debug code, now it should work
This commit is contained in:
@ -10,14 +10,11 @@ versionize:
|
|||||||
|
|
||||||
extract_client_definition:
|
extract_client_definition:
|
||||||
after_script:
|
after_script:
|
||||||
- echo "CI_COMMIT_BRANCH:$CI_COMMIT_BRANCH"
|
|
||||||
- URL="/"
|
- URL="/"
|
||||||
- if [[ "$CI_COMMIT_BRANCH" =~ ^test_deployment_v[[:digit:]] ]]; then URL="https://test.webservices.krohne.com/"; fi
|
- if [[ "$CI_COMMIT_BRANCH" =~ ^test_deployment_v[[:digit:]] ]]; then URL="https://test.webservices.krohne.com/"; fi
|
||||||
- if [[ "$CI_COMMIT_BRANCH" =~ ^development_deployment_v[[:digit:]] ]]; then URL="https://dev.webservices.krohne.com/"; fi
|
- if [[ "$CI_COMMIT_BRANCH" =~ ^development_deployment_v[[:digit:]] ]]; then URL="https://dev.webservices.krohne.com/"; fi
|
||||||
- if [[ "$CI_COMMIT_BRANCH" =~ ^production_deployment_v[[:digit:]] ]]; then URL="https://prod.webservices.krohne.com/"; fi
|
- if [[ "$CI_COMMIT_BRANCH" =~ ^production_deployment_v[[:digit:]] ]]; then URL="https://prod.webservices.krohne.com/"; fi
|
||||||
- echo "URL:$URL"
|
|
||||||
- cat ws.json | jq 'setpath(["servers", 0, "url"]; "'$URL'")' > ws.json-new
|
- cat ws.json | jq 'setpath(["servers", 0, "url"]; "'$URL'")' > ws.json-new
|
||||||
- cat ws.json-new
|
|
||||||
- rm ws.json && mv ws.json-new ws.json
|
- rm ws.json && mv ws.json-new ws.json
|
||||||
|
|
||||||
.deploy_test_dev:
|
.deploy_test_dev:
|
||||||
|
Reference in New Issue
Block a user