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

truongbb - test ci

parent 04362cb9
Pipeline #371 passed with stages
in 1 minute and 26 seconds
......@@ -69,8 +69,8 @@ sub_quality-gate(){
# echo "${res}"
content=$(curl --request POST \
# --url http://192.168.1.210:9000/api/qualitygates/project_status?projectKey=spring-ci \
# --header 'cache-control: no-cache' --header 'content-type: application/json')
--url http://192.168.1.210:9000/api/qualitygates/project_status?projectKey=spring-ci \
--header 'cache-control: no-cache' --header 'content-type: application/json')
status=$( echo jq -r '.data.projectStatus.status' <<< "${content}" )
echo ${status}
}
......
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