Commit 3421c981 authored by Bùi Bá Trường's avatar Bùi Bá Trường

truongbb - test ci

parent 7ca3715f
Pipeline #399 passed with stage
in 11 seconds
...@@ -68,11 +68,11 @@ check_quality_gate: ...@@ -68,11 +68,11 @@ 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
- exit 0
- ls
# - if [[ $QUALITY_GATE = 0 ]] then exit 0 fi # - if [[ $QUALITY_GATE = 0 ]] then exit 0 fi
#build_up: #build_up:
......
...@@ -57,7 +57,6 @@ sub_quality-gate(){ ...@@ -57,7 +57,6 @@ 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