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

truongbb - test ci

parent e32620c0
Pipeline #398 passed with stage
in 11 seconds
...@@ -68,10 +68,12 @@ check_quality_gate: ...@@ -68,10 +68,12 @@ check_quality_gate:
- cd /root/GitlabRunner/repo/spring-ci-advanced - cd /root/GitlabRunner/repo/spring-ci-advanced
- ls - ls
- chmod +x ./build-test.sh - chmod +x ./build-test.sh
- ./build-test.sh quality-gate
- ls
# - export QUALITY_GATE=$(./build-test.sh quality-gate) # - export QUALITY_GATE=$(./build-test.sh quality-gate)
- export QUALITY_GATE=0 # - export QUALITY_GATE=0
- echo $QUALITY_GATE # - echo $QUALITY_GATE
- if [[ $QUALITY_GATE = 0 ]] then exit 0 fi # - if [[ $QUALITY_GATE = 0 ]] then exit 0 fi
#build_up: #build_up:
# stage: build_up # stage: build_up
......
...@@ -57,6 +57,7 @@ sub_quality-gate(){ ...@@ -57,6 +57,7 @@ sub_quality-gate(){
# echo "*******QUALITY GATE PASSED!**********" # echo "*******QUALITY GATE PASSED!**********"
echo 1 echo 1
fi fi
exit 0
} }
sub_build-up(){ sub_build-up(){
......
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