Added qutoes to -e command as a safeguard
This commit is contained in:
parent
c2154f9019
commit
683d56aa38
1 changed files with 13 additions and 13 deletions
|
|
@ -57,13 +57,13 @@ stages:
|
|||
# Create container and run tests
|
||||
container_id=$(docker create \
|
||||
--ipc=host \
|
||||
-e CCIS_API_AUTH=$(CCIS_API_AUTH) \
|
||||
-e BASE_URL=$(BASE_URL) \
|
||||
-e CCIS_API_URL=$(CCIS_API_URL) \
|
||||
-e ADMIN_SERVICE_API_URL=$(ADMIN_SERVICE_API_URL) \
|
||||
-e SHARD=$(shardNumber) \
|
||||
-e "CCIS_API_AUTH=$(CCIS_API_AUTH)" \
|
||||
-e "BASE_URL=$(BASE_URL)" \
|
||||
-e "CCIS_API_URL=$(CCIS_API_URL)" \
|
||||
-e "ADMIN_SERVICE_API_URL=$(ADMIN_SERVICE_API_URL)" \
|
||||
-e "SHARD=$(shardNumber)" \
|
||||
-e CI=true \
|
||||
-e NODE_ENV=$(NODE_ENV) \
|
||||
-e "NODE_ENV=$(NODE_ENV)" \
|
||||
$(dockerImageName):$(imageTag) \
|
||||
npx concurrently -k -n "server,playwright"\
|
||||
"sed -i \"s|^process\.env\.VUE_APP_CONSUMER_CF_DISTRO = .*|process\.env\.VUE_APP_CONSUMER_CF_DISTRO='https://digitalapi.test.safelite.io'|\" \"./vue.config.js\" && echo \"Updated config file to use TEST APIs\" && npm run serve -- --port=8080"\
|
||||
|
|
@ -125,13 +125,13 @@ stages:
|
|||
# Create container for jira writeback
|
||||
container_id=$(docker create \
|
||||
--ipc=host \
|
||||
-e JIRA_SERVER=$(JIRA_SERVER) \
|
||||
-e JIRA_USERNAME=$(JIRA_USERNAME) \
|
||||
-e JIRA_API_KEY=$(JIRA_API_KEY) \
|
||||
-e IS_REGRESSION=$(IS_REGRESSION) \
|
||||
-e JIRA_BOARD_ID=$(JIRA_BOARD_ID) \
|
||||
-e JIRA_EPIC_KEY=$(JIRA_EPIC_KEY) \
|
||||
-e JIRA_PROJECT_KEY=$(JIRA_PROJECT_KEY) \
|
||||
-e "JIRA_SERVER=$(JIRA_SERVER)" \
|
||||
-e "JIRA_USERNAME=$(JIRA_USERNAME)" \
|
||||
-e "JIRA_API_KEY=$(JIRA_API_KEY)" \
|
||||
-e "IS_REGRESSION=$(IS_REGRESSION)" \
|
||||
-e "JIRA_BOARD_ID=$(JIRA_BOARD_ID)" \
|
||||
-e "JIRA_EPIC_KEY=$(JIRA_EPIC_KEY)" \
|
||||
-e "JIRA_PROJECT_KEY=$(JIRA_PROJECT_KEY)" \
|
||||
$(dockerImageName):$(imageTag) \
|
||||
bash -c "echo \"Moving Playwright reports out of subfolders...\" &&
|
||||
find ./playwright-reports/ -mindepth 2 -type f -exec mv {} ./playwright-reports/ \; &&
|
||||
|
|
|
|||
Loading…
Reference in a new issue