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 ...@@ -10,9 +10,9 @@ fi
export CI_PROJECT_NAME=$(basename $CI_PROJECT_DIR) export CI_PROJECT_NAME=$(basename $CI_PROJECT_DIR)
if [ -z "$CI_BUILD_REPO" ] if [ -z "$CI_REPOSITORY_URL" ]
then then
echo "CI_BUILD_REPO undefined" echo "CI_REPOSITORY_URL undefined"
exit 1 exit 1
fi fi
...@@ -22,7 +22,7 @@ then ...@@ -22,7 +22,7 @@ then
cd $CI_PROJECT_NAME cd $CI_PROJECT_NAME
git pull origin master git pull origin master
else else
git clone $CI_BUILD_REPO $CI_PROJECT_NAME git clone $CI_REPOSITORY_URL $CI_PROJECT_NAME
cd $CI_PROJECT_NAME cd $CI_PROJECT_NAME
fi 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