Commit 2ab0e314 authored by okhin's avatar okhin 🚴

CI_PROJECT_NAME doesn't exist yet

parent aece5f19
Pipeline #70 failed with stage
in 10 seconds
......@@ -8,9 +8,6 @@ stages:
job install:
script:
- chmod a+x ci/install.sh
- export CI_PROJECT_NAME
- export CI_BUILD_REPO
- export
- ./ci/install.sh
- deactivate
stage: install
......
......@@ -2,12 +2,14 @@
# This schript is used to setup what needs to be (virtualenv and stuff)
# before running the pthon setup.py part
# We need those variables
if [ -z "$CI_PROJECT_NAME" ]
if [ -z "$CI_PROJECT_DIR" ]
then
echo "CI_PROJECT_NAME undefined"
echo "CI_PROJECT_DIR undefined"
exit 1
fi
export CI_PROJECT_NAME=$(basename $CI_PROJECT_DIR)
if [ -z "$CI_BUILD_REPO" ]
then
echo "CI_BUILD_REPO undefined"
......
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