Commit ff78b3e9 authored by Jan Möbius's avatar Jan Möbius

sw repo is updated by the runner itself

parent 0d18398b
Pipeline #15819 canceled with stages
in 5 minutes and 31 seconds
......@@ -95,13 +95,14 @@ fi
# chmod 700 ~/.ssh
#fi
if [ ! -d "~/sw/.git" ]; then
echo Library update skipped
else
git -C "~/sw" remote add alt https://gitlab-ci-token:${CI_JOB_TOKEN}@www.graphics.rwth-aachen.de:9000/Library-Management/Linux-Libraries.git openflipper/Linux-Libraries
git -C "~/sw" checkout master
git -C "~/sw" pull alt master
git -C "~/sw" remote remove alt
fi
# Don't mess with the repo here.
#if [ ! -d "~/sw/.git" ]; then
# echo Library update skipped
#else
# git -C "~/sw" remote add alt https://gitlab-ci-token:${CI_JOB_TOKEN}@www.graphics.rwth-aachen.de:9000/Library-Management/Linux-Libraries.git openflipper/Linux-Libraries
# git -C "~/sw" checkout master
# git -C "~/sw" pull alt master
# git -C "~/sw" remote remove alt
#fi
echo "Buildpath is: $BUILDPATH"
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