Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/ssh/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
gitlab runner克隆代码失败,请求的URL返回错误:500_Git_Ssh_Gitlab_Gitlab Ci_Gitlab Ci Runner - Fatal编程技术网

gitlab runner克隆代码失败,请求的URL返回错误:500

gitlab runner克隆代码失败,请求的URL返回错误:500,git,ssh,gitlab,gitlab-ci,gitlab-ci-runner,Git,Ssh,Gitlab,Gitlab Ci,Gitlab Ci Runner,阿里云使用gitlab服务器,未解析域名,绑定主机127.0.0.1 git.server。 另一台机器让gitlab runner构建代码,机器上的主机也绑定了116…194 git.server,使用ssh正常克隆代码没有问题 使用runner生成时,发生以下错误:致命:无法访问“”:请求的URL返回错误:500 /etc/hosts 116.*.*.194 git.server [[runners]] name = "api-tuitui" url = "http://git.s

阿里云使用gitlab服务器,未解析域名,绑定主机127.0.0.1 git.server。 另一台机器让gitlab runner构建代码,机器上的主机也绑定了116…194 git.server,使用ssh正常克隆代码没有问题

使用runner生成时,发生以下错误:致命:无法访问“”:请求的URL返回错误:500

/etc/hosts
116.*.*.194 git.server

[[runners]]
  name = "api-tuitui"
  url = "http://git.server/"
  token = "2dbcbaba3*********e3499064"
  executor = "shell"
  [runners.custom_build_dir]
  [runners.cache]
    [runners.cache.s3]
    [runners.cache.gcs]

Grant root user :gitlab-runner install --user=root --working-directory=/var/www
使用gitlab runner 11.4.2(cf91d5e1)运行 关于管理员83a7c629 正在使用Shell执行器。。。 在iZwz98jvb8bcz3jj1i5x2mZ上运行。。。 正在克隆存储库。。。 克隆到“/home/gitlab runner/builds/83a7c629/0/tuitui/test ci”。。。 致命:无法访问“”:请求的URL返回错误:500 bash:line 61:cd:/home/gitlab runner/builds/83a7c629/0/tuitui/test ci:没有这样的文件或目录
错误:作业失败:退出状态1

我已在gitlab服务器上添加ssh密钥我已在gitlab服务器上添加ssh密钥