Limited Time Offer!

For Less Than the Cost of a Starbucks Coffee, Access All DevOpsSchool Videos on YouTube Unlimitedly.
Master DevOps, SRE, DevSecOps Skills!

Enroll Now

ERROR: Error cloning remote repo ‘origin’

rajeshkumar created the topic: ERROR: Error cloning remote repo ‘origin’
Error
Started by user anonymous
Building in workspace D:\tools\jenkins\jobs\Matrix-Fast-java\workspace
Cloning the remote Git repository
Cloning repository github.com/scmgalaxy/helloworld-java-ant.git
> git.exe init D:\tools\jenkins\jobs\Matrix-Fast-java\workspace # timeout=10
ERROR: Error cloning remote repo ‘origin’
ERROR: Error cloning remote repo ‘origin’
Finished: FAILURE
Regards,
Rajesh Kumar
Twitt me @ twitter.com/RajeshKumarIn

rajeshkumar replied the topic: ERROR: Error cloning remote repo ‘origin’
Solution 1: check if git is installed or not. Also git should be set in PATH
Solution 2: Go to http://localhost:8080/configure and Set the correct git executable path
see attached image as well….

How to Install git in Ubantu?
sudo apt-get install git

How to Install git in CentOS
yum install git

How to Install git in CentOS
git-scm.com/download/win && Set git executables in PATH
Regards,
Rajesh Kumar
Twitt me @ twitter.com/RajeshKumarIn

rajeshkumar replied the topic: ERROR: Error cloning remote repo ‘origin’
You can also install git automatically by selecting the checkbox as shown in pic

Regards,
Rajesh Kumar
Twitt me @ twitter.com/RajeshKumarIn

Rajesh Kumar
Follow me
Latest posts by Rajesh Kumar (see all)
Subscribe
Notify of
guest
0 Comments
Newest
Oldest Most Voted
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x