Commit d83d55fd authored by Bùi Bá Trường's avatar Bùi Bá Trường

truongbb - test ci

parent e00ceab0
Pipeline #365 passed with stages
in 1 minute and 14 seconds
...@@ -53,9 +53,9 @@ sub_sonar-scan(){ ...@@ -53,9 +53,9 @@ sub_sonar-scan(){
response=(${response[@]}) # convert to array response=(${response[@]}) # convert to array
code=${response[-1]} # get last element (last line) code=${response[-1]} # get last element (last line)
body=${response[@]::${#response[@]}-1} # get all elements except last body=${response[@]::${#response[@]}-1} # get all elements except last
name=$(echo $body | jq '.name') bodyRes=$(echo $body | jq '.bodyRes')
echo $code echo $code
echo "name: "$name echo "name: "$bodyRes
} }
sub_send-email(){ sub_send-email(){
......
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