summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-10-12 23:51:12 +0300
committerAndrei Karas <akaras@inbox.ru>2017-10-12 23:51:12 +0300
commit09d536308aadbf4e26fe5bcc08c85421f6139d75 (patch)
treec7aa706821004ec7f3e3bd969e92d3bfa80e6211
parenta85ac6e89f407cc94ee4519020175cb746ae88bb (diff)
downloadmv-09d536308aadbf4e26fe5bcc08c85421f6139d75.tar.gz
mv-09d536308aadbf4e26fe5bcc08c85421f6139d75.tar.bz2
mv-09d536308aadbf4e26fe5bcc08c85421f6139d75.tar.xz
mv-09d536308aadbf4e26fe5bcc08c85421f6139d75.zip
Fix pages job.
-rwxr-xr-xtools/ci/jobs/pages.sh8
1 files changed, 4 insertions, 4 deletions
diff --git a/tools/ci/jobs/pages.sh b/tools/ci/jobs/pages.sh
index 9975edaa2..33add9314 100755
--- a/tools/ci/jobs/pages.sh
+++ b/tools/ci/jobs/pages.sh
@@ -11,8 +11,8 @@ mkdir -p ../public/stats
mkdir -p ../public/gcov
mkdir -p ../public/version
-cp logs/gcc-?.* ../public/gcov
-cp logs/gcc-?_SDL2.* ../public/gcov
+cp ../logs/gcc-?.* ../public/gcov || exit 1
+cp ../logs/gcc-?_SDL2.* ../public/gcov || exit 1
echo "Url: $CI_PROJECT_URL" >../public/version/commit.txt
echo "Ref name: $CI_BUILD_REF_NAME" >>../public/version/commit.txt
echo "Ref: $CI_BUILD_REF" >>../public/version/commit.txt
@@ -22,5 +22,5 @@ cd pagesindexgen
check_error $?
cd ..
-cp -r doxygen/html/* ../public/docs
-cp -r stats/* ../public/stats
+cp -r ../doxygen/html/* ../public/docs || exit 1
+cp -r ../stats/* ../public/stats || exit 1