fix(ci): add missing backslashes to smoke-test curl command
This commit is contained in:
parent
538efdc516
commit
386f53f02f
|
|
@ -98,11 +98,11 @@ steps:
|
|||
TOKEN=$$(gcloud auth print-identity-token
|
||||
--audiences="$$BASE_URL")
|
||||
|
||||
RESPONSE=$$(curl -s -w "
|
||||
HTTP_STATUS:%{http_code}"
|
||||
-H "Authorization: Bearer $$TOKEN"
|
||||
-H "Content-Type: application/json"
|
||||
-d '{"user_id": "ci", "session_id": "smoke-$$BUILD_ID", "message": "ping"}'
|
||||
RESPONSE=$$(curl -s -w "\nHTTP_STATUS:%{http_code}" \
|
||||
-H "Authorization: Bearer $$TOKEN" \
|
||||
-H "Content-Type: application/json" \
|
||||
-d '{"user_id": "ci", "session_id": "smoke-$$BUILD_ID", "message": "ping"}' \
|
||||
"$$BASE_URL/run")
|
||||
"$$BASE_URL/run")
|
||||
|
||||
HTTP_STATUS=$$(echo "$$RESPONSE" | grep "HTTP_STATUS:" | cut -d: -f2)
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user