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

truongbb - test ci

parent 442d855f
Pipeline #373 failed
......@@ -14,11 +14,11 @@ before_script:
stages:
- checkout
- compile
- sonnar_scanner
# - compile
# - sonnar_scanner
- check_quality_gate
- build_up # for merge request
- send_email
# - build_up # for merge request
# - send_email
checkout:
stage: checkout
......
......@@ -71,7 +71,7 @@ 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' <<< "${content}" )
status=$(jq -r '.data' <<< "${content}" )
echo "body: " ${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