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: ...@@ -14,11 +14,11 @@ before_script:
stages: stages:
- checkout - checkout
- compile # - compile
- sonnar_scanner # - sonnar_scanner
- check_quality_gate - check_quality_gate
- build_up # for merge request # - build_up # for merge request
- send_email # - send_email
checkout: checkout:
stage: checkout stage: checkout
......
...@@ -71,7 +71,7 @@ sub_quality-gate(){ ...@@ -71,7 +71,7 @@ sub_quality-gate(){
content=$(curl --request POST \ content=$(curl --request POST \
--url http://192.168.1.210:9000/api/qualitygates/project_status?projectKey=spring-ci \ --url http://192.168.1.210:9000/api/qualitygates/project_status?projectKey=spring-ci \
--header 'cache-control: no-cache' --header 'content-type: application/json') --header 'cache-control: no-cache' --header 'content-type: application/json')
status=$( echo jq -r '.data' <<< "${content}" ) status=$(jq -r '.data' <<< "${content}" )
echo "body: " ${status} 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