Commit 0d1fa56e authored by Bùi Bá Trường's avatar Bùi Bá Trường

truongbb - test ci

parent b6d7fed5
Pipeline #403 failed with stages
in 9 seconds
......@@ -71,7 +71,8 @@ check_quality_gate:
# - export QUALITY_GATE=$(./build-test.sh quality-gate)
- export QUALITY_GATE=0
- echo $QUALITY_GATE
- sh 'if [[ $QUALITY_GATE = 0 ]] then exit -1 fi' # force pipeline exit and fail job
# force pipeline exit and fail job if QUALITY GATE is FAIL
- sh ./stop_job.sh
build_up:
stage: build_up
......
#!/usr/bin/env bash
if [[ $QUALITY_GATE = 0 ]]
then
exit -1
fi
\ No newline at end of file
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