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

truongbb - test ci

parent 0dafded8
Pipeline #372 passed with stages
in 1 minute and 25 seconds
......@@ -71,8 +71,8 @@ sub_quality-gate(){
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')
status=$( echo jq -r '.data.projectStatus.status' <<< "${content}" )
echo ${status}
status=$( echo jq -r '.data' <<< "${content}" )
echo "body: " ${status}
}
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