diff options
Diffstat (limited to 'gitlab-ci/clientdata.sh')
-rwxr-xr-x | gitlab-ci/clientdata.sh | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/gitlab-ci/clientdata.sh b/gitlab-ci/clientdata.sh index deee2fb..1cabb14 100755 --- a/gitlab-ci/clientdata.sh +++ b/gitlab-ci/clientdata.sh @@ -10,7 +10,16 @@ ln -s clientdata client-data rm -rf music git clone --depth 1 https://gitlab.com/evol/evol-music.git music -cd tools/update +cd tools/testxml + +./xsdcheck.sh +export RES=$(cat errors.txt) +if [[ -n "${RES}" ]]; then + echo "xml check failed" + exit(1) +fi + +cd ../update ./createnew.sh ./create_music.sh |