简体   繁体   中英

What is the GitLab runner working directory on linux

I have one gitlab runner on digital ocean, i can see my build is passed but am not able to figure out where it cloned my repo, on console of the build shows following

Cloning repository... Cloning into **'/builds/.....'**

Where is this builds directory on the system?

I followed following documentation for setting up gitlab runner

https://about.gitlab.com/2016/04/19/how-to-set-up-gitlab-runner-on-digitalocean/

I checked /home/gitlab-runner directory but it's empty.

Given the docs you followed you are using a Docker executor meaning that every job that is executed a given Docker container is started and your job (and thus your clone in the pre-build phase ) and its commands are executed within the Docker container(s).

After the job (success or fail) the Gitlab Runner removes the container(s).

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM