Relative path

1 job for master in 4 seconds
Status Job ID Name Coverage
  Install
failed #9
piphone ssh
job install

00:00:04

 
Name Stage Failure
failed
job install Install There is an unknown failure, please try again
$ which git || (apt-get update -yq && apt-get install git -yqq)
/usr/bin/git
$ which virtualenv || (apt-get update -yq && apt-get install python3-virtualenv -yqq)
/usr/bin/virtualenv
$ cd /srv/piphone/
$ [[ -d ./${CI_PROJECT_NAME} ]] || git clone $CI_BUILD_REPO $CI_PROJECT_NAME && (cd $CI_PROJECT_NAME; git pull origin master)
fatal: Not a git repository (or any of the parent directories): .git

ERROR: Build failed: Process exited with: 1. Reason was: ()