我已成功安装了Jenkins和GitLab,但在这里我面临着与GitLab和Jenkins之间的连接问题 .
我在这里完成了以下步骤 .
在Gitlab部分GitLab连接是成功的 .
无法连接到存储库:执行命令时出错:git ls-remote -h http://10.78.150.58/root/tch-demo.git HEAD .
任何人都可以在这里帮助 . 谢谢 .
您至少需要在GitLab中激活该服务 . 请遵循以下指南:https://docs.gitlab.com/ee/integration/jenkins.html
https://github.com/jenkinsci/gitlab-plugin#using-it-with-a-job
https://wiki.jenkins-ci.org/display/JENKINS/Git+Plugin
希望能帮助到你 .
1 回答
您至少需要在GitLab中激活该服务 . 请遵循以下指南:https://docs.gitlab.com/ee/integration/jenkins.html
https://github.com/jenkinsci/gitlab-plugin#using-it-with-a-job
https://wiki.jenkins-ci.org/display/JENKINS/Git+Plugin
希望能帮助到你 .