2017-08-03 189 views
4

我已經註冊gitlab亞軍到gitlab實例。我註冊的URL如下:http://azurestackgitlab1.southeastasia.cloudapp.azure.com/ciGitLab亞軍無法克隆存儲庫

但是,當運行該項目的構建;構建是失敗得到,並給予如下信息:

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:[email protected].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] 

如何解決這個問題?

回答