Continuous integration GitLab Runner无法克隆存储库

Continuous integration GitLab Runner无法克隆存储库,continuous-integration,gitlab,cd,gitlab-ci-runner,Continuous Integration,Gitlab,Cd,Gitlab Ci Runner,我已将gitlab runner注册到gitlab实例。我的注册网址如下: 但是,在为该项目运行构建时;生成失败,并显示以下消息: Running with gitlab-ci-multi-runner 1.11.1 (a67a225) on java test (96d320b3) WARNING: image is not supported by selected executor and shell Using Shell executor... Running on AzureSt

我已将gitlab runner注册到gitlab实例。我的注册网址如下:

但是,在为该项目运行构建时;生成失败,并显示以下消息:

Running with gitlab-ci-multi-runner 1.11.1 (a67a225)
  on java test (96d320b3)
WARNING: image is not supported by selected executor and shell
Using Shell executor...
Running on AzureStackPOCVM...
Cloning repository...
Cloning into '/home/gitlab-runner/builds/96d320b3/0/root/demoproject'...
fatal: unable to access 'http://gitlab-ci-token:xxxxxx@gitlab-ce.hxakzvpf0otezeojz3wqhme5wg.cx.internal.cloudapp.net/root/demoproject.git/': Could not resolve host: gitlab-ce.hxakzvpf0otezeojz3wqhme5wg.cx.internal.cloudapp.net
ERROR: Job failed: exit status 1
config.toml的代码段:

[[runners]]
  name = "java test"
  url = "http://azurestackgitlab1.southeastasia.cloudapp.azure.com/ci"
  token = "96d320b33d3c69d706dad7f90df84e"
  executor = "shell"
  [runners.cache]

如何克服这个问题?

您将获得etc/gitlab/gitlab.rb文件中提到的这个URL。如果您将更改“hxakzvpf0otezeojz3wqhme5wg.cx.internal.cloudapp.net” 用你的“ 它应该有用! 有关更多信息,您可以参考: