我安装gitlab-runner并与gitlab正确连接 但是当我运行作业时,它失败了:
Running with gitlab-runner 11.11.2 (ac2a293c)
on unit_test k_5HSV_C
Using Shell executor...
Running on myComputer...
Reinitialized existing Git repository in D:/GitLab-Runner/builds/k_5HSV_C/0/root/projectName/.git/
Fetching changes...
fatal: repository 'http://gitlab-ci-token:[MASKED]@mydomain/root/projectName.git/' not found
ERROR: Job failed: exit status 1
我尝试了一些解决方法,但是无法正常工作,例如在config.toml中添加一些字段
concurrent = 1
check_interval = 0
[session_server]
session_timeout = 1800
[[runners]]
environment = ["GIT_SSL_NO_VERIFY=true"]
shell = 'powershell'
name = "unit_test"
url = "http://mydomian:22280/"
token = "xxxxxxxxxxxxx"
executor = "shell"
[runners.custom_build_dir]
[runners.cache]
[runners.cache.s3]
[runners.cache.gcs]
我也尝试过:
git config --global http.sslVerify false
也不会工作