ianckc
ianckc

Reputation: 1716

Windows, Git and Jenkins

I'm just starting to look at Jenkins CI on my Windows 7 machine.

I thought for a first test I would create a git repo on my localhost which is aliased to

http://tests.local/jenkins/local

I setup a job in Jenkins, selected Git under source code management and added http://tests.local/jenkins/local.git as the Repository URL

When the job runs it fails with the error

ERROR: Error cloning remote repo 'origin' : Could not clone http://tests.local/jenkins/local.git

Is this a git issue or a Jenkins issue and how can I fix it?

Thanks

Upvotes: 1

Views: 2548

Answers (1)

raveturned
raveturned

Reputation: 2677

Have you run git update-server-info in your repo? This is needed if you want to clone/fetch via http. Run git help update-server-info or see online documentation here for more details.

Upvotes: 1

Related Questions