summaryrefslogtreecommitdiff
path: root/gitlab-ci/clientdata.sh
diff options
context:
space:
mode:
Diffstat (limited to 'gitlab-ci/clientdata.sh')
-rwxr-xr-xgitlab-ci/clientdata.sh5
1 files changed, 3 insertions, 2 deletions
diff --git a/gitlab-ci/clientdata.sh b/gitlab-ci/clientdata.sh
index e236cfc..6b81dae 100755
--- a/gitlab-ci/clientdata.sh
+++ b/gitlab-ci/clientdata.sh
@@ -21,13 +21,14 @@ if [[ -n "${RES}" ]]; then
echo "xml check failed"
echo "xml check failed" >../../clientdata/.shared/error.log
echo ${RES} >>../../clientdata/.shared/error.log
- exit 1
+ exit 0
fi
+echo >../../clientdata/.shared/error.log
./testxml.py silent >../../clientdata/.shared/error.log
if [ "$?" != 0 ]; then
echo "test xml error"
- exit 2
+ exit 0
fi
echo >../../clientdata/.shared/error.log