error cloning remote repo 'origin'

0 votes

 I am trying build a job which pull the code from the githib repo. This works most of the time but sometimes all of sudden i get the below error in Jenkins.

ERROR: Error cloning remote repo 'origin' hudson.plugins.git.GitException: Command "C:\Program Files\Git\cmd\git.exe fetch --no-tags --progress https://github.com/rammetla/LouisvilleOutletCode.git+refs/heads/:refs/remotes/origin/" returned status code -1: stdout:
Aug 13, 2018 in Git & GitHub by Hannah
• 14,040 points
1,257 views

3 answers to this question.

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
0 votes

Try doing this, it’ll help you get rid of any HTTP S credential issues

  • Use SSH URL instead
  • Use the Jenkins SSH credentials plugin-> This plugin allows you to store SSH credentials in Jenkins.
answered Aug 13, 2018 by Kalgi
• 35,640 points
0 votes
Probably git is not configured properly in Jenkins. Check that out once.
answered Apr 24 by Vishal
0 votes

Follow these steps:

  • Go to Manage Jenkins
  • Go to Global Tool Configuration
  • In Git / Path to Git executable enter C:\<whatever the path is>\git.exe.
  • Click on Save.
answered Apr 24 by Bina

Related Questions In Git & GitHub

0 votes
1 answer
0 votes
1 answer

Git origin not found

For this to work, you need to ...READ MORE

answered Apr 25, 2018 in Git & GitHub by DragonLord999
• 8,360 points
47 views
0 votes
1 answer

error saying unmerged paths

Git merging means taking changes from one ...READ MORE

answered Jun 27, 2018 in Git & GitHub by anonymous
76 views
0 votes
1 answer

How to solve the ‘Git commit -a error’?

This happens when no editor is set. ...READ MORE

answered Jul 5, 2018 in Git & GitHub by Tyrion anex
• 8,280 points
28 views
+13 votes
2 answers
0 votes
1 answer
+1 vote
3 answers

Cloning the Git Repository on Eclipse (Transport Error)

File/Import... Select dialog * Git/Projects from Git * click next Select ...READ MORE

answered Jul 23, 2018 in Git & GitHub by Kalgi
• 35,640 points
1,290 views
0 votes
2 answers

difference between git remote and git clone

git remote add just creates an entry in ...READ MORE

answered Aug 7, 2018 in Git & GitHub by Kalgi
• 35,640 points
217 views

© 2018 Brain4ce Education Solutions Pvt. Ltd. All rights Reserved.
"PMP®","PMI®", "PMI-ACP®" and "PMBOK®" are registered marks of the Project Management Institute, Inc. MongoDB®, Mongo and the leaf logo are the registered trademarks of MongoDB, Inc.