gitlab-runner管道使用错误端口失败克隆

时间:2018-03-21 03:59:11

标签: git gitlab

Waiting for services to be up and running...
Using docker image sha256:377f89d04c6a8215fcd5abcb918eb1efd3ef7d93aa02c4662942c9181cde01e9 for predefined container...
Pulling docker image php:latest ...
Using docker image php:latest ID=sha256:c8d1a5f14eb751e402a046d2b6424b041969af06b17db2cc8ea5a82fa343a593 for build container...
Running on runner-2ea396b6-project-1-concurrent-0 via vk-VirtualBox...
Cloning repository...
Cloning into '/builds/gitlab/V1ki/ProductManager'...
fatal: repository 'http://gitlab-ci-token:xxxxxxxxxxxxxxxxxxxx@192.168.1.93/gitlab/V1ki/ProductManager.git/' not found
ERROR: Job failed: exit code 1

git clone http://gitlab-ci-token:xxxxxxxxxxxxxxxxxxxx@192.168.1.93:82/gitlab/V1ki/ProductManager.git /可以成功。

如何在gitlab-runner中设置端口?

.gitlab-ci.yml?

1 个答案:

答案 0 :(得分:0)

检查Docker Executor configuration您定义的地点192.168.1.93。

您可以尝试将其替换为192.168.1.93:82:包含端口号。