Reputation: 31
I have successfully installed Jenkins and GitLab, But here I am facing connection issue between to GitLab and Jenkins for CI.
Here I have completed steps are below.
Manage Jenkins >> Configure System.
Under Gitlab Section GitLab connections are the success.
I created New Job and under Source Code Management. I see below issue.
Failed to connect to repository : Error performing command: git ls-remote -h http://10.78.150.58/root/tch-demo.git HEAD.
Any one can help here. thanks.
Upvotes: 2
Views: 19966
Reputation: 75
You need to activate the service in GitLab at least. Follow these guides: 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
Hope it helps.
Upvotes: 2