linux 上的 GitLab runner 工作目录是什么

What is the GitLab runner working directory on linux

我在数字海洋上有一个 gitlab runner,我可以看到我的构建已通过但无法弄清楚它在哪里克隆了我的 repo,在构建的控制台上显示如下

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

这个构建目录在系统的什么地方?

我按照以下文档设置 gitlab runner

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

我检查了 /home/gitlab-runner 目录,但它是空的。

鉴于您遵循的文档,您使用的是 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) 并且其命令在 Docker 容器中执行。

作业(成功或失败)后,Gitlab Runner 删除容器。