Commit c67ca49b authored by Isabella Almeida da Silva's avatar Isabella Almeida da Silva
Browse files

[SOMA-2553][SOMA-2624]

- Escapando as variáveis no shell para evitar a expansão do valor do
token na linha de comando de testes
parent 76f94249
......@@ -7,7 +7,7 @@ case "$1" in
job)
curl -v -H "Content-Type: application/json" -H 'Authorization: USER_TOKEN' -X POST -d '{
"cmd_string": "echo user token: $CSBASE_USER_TOKEN && sleep 10 && echo bye > /tmp/job_123.out ",
"cmd_string": "bash -c \"echo user token: \\$CSBASE_USER_TOKEN \" && sleep 10 && echo bye",
"cmd_id": "job_123",
"parameters": {
"csbase_command_path": "/tmp",
......
Supports Markdown
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