Commit e5135eb9 authored by okhin's avatar okhin 🚴

Fixing variables for the CI

parent 4be929e1
Pipeline #1108 passed with stage
in 0 seconds
......@@ -10,9 +10,9 @@ fi
export CI_PROJECT_NAME=$(basename $CI_PROJECT_DIR)
if [ -z "$CI_BUILD_REPO" ]
if [ -z "$CI_REPOSITORY_URL" ]
then
echo "CI_BUILD_REPO undefined"
echo "CI_REPOSITORY_URL undefined"
exit 1
fi
......@@ -22,7 +22,7 @@ then
cd $CI_PROJECT_NAME
git pull origin master
else
git clone $CI_BUILD_REPO $CI_PROJECT_NAME
git clone $CI_REPOSITORY_URL $CI_PROJECT_NAME
cd $CI_PROJECT_NAME
fi
......
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