{"id":1816,"date":"2017-12-06T07:11:58","date_gmt":"2017-12-06T07:11:58","guid":{"rendered":"http:\/\/www.scmgalaxy.com\/tutorials\/?p=1816"},"modified":"2025-02-01T22:47:39","modified_gmt":"2025-02-01T22:47:39","slug":"error-error-cloning-remote-repo-origin","status":"publish","type":"post","link":"https:\/\/www.devopsschool.com\/blog\/error-error-cloning-remote-repo-origin\/","title":{"rendered":"ERROR: Error cloning remote repo &#8216;origin&#8217;"},"content":{"rendered":"<p><strong>rajeshkumar created the topic: ERROR: Error cloning remote repo &#8216;origin&#8217;<\/strong><br \/>\nError<br \/>\nStarted by user anonymous<br \/>\nBuilding in workspace D:\\tools\\jenkins\\jobs\\Matrix-Fast-java\\workspace<br \/>\nCloning the remote Git repository<br \/>\nCloning repository <a href=\"http:\/\/github.com\/scmgalaxy\/helloworld-java-ant.git\" target=\"_blank\" rel=\"noopener\">github.com\/scmgalaxy\/helloworld-java-ant.git <\/a><br \/>\n> git.exe init D:\\tools\\jenkins\\jobs\\Matrix-Fast-java\\workspace # timeout=10<br \/>\nERROR: Error cloning remote repo &#8216;origin&#8217;<br \/>\nERROR: Error cloning remote repo &#8216;origin&#8217;<br \/>\nFinished: FAILURE<br \/>\nRegards,<br \/>\nRajesh Kumar<br \/>\nTwitt me @ <a href=\"http:\/\/twitter.com\/RajeshKumarIn\" target=\"_blank\" rel=\"noopener\">twitter.com\/RajeshKumarIn<\/a><\/p>\n<p><strong>rajeshkumar replied the topic: ERROR: Error cloning remote repo &#8216;origin&#8217;<\/strong><br \/>\nSolution 1: check if git is installed or not. Also git should be set in PATH<br \/>\nSolution 2: Go to http:\/\/localhost:8080\/configure and Set the correct git executable path<br \/>\nsee attached image as well&#8230;.<\/p>\n<p>How to Install git in Ubantu?<br \/>\nsudo apt-get install git<\/p>\n<p>How to Install git in CentOS<br \/>\nyum install git<\/p>\n<p>How to Install git in CentOS<br \/>\n<a href=\"http:\/\/git-scm.com\/download\/win\" target=\"_blank\" rel=\"noopener\">git-scm.com\/download\/win<\/a> &#038;&#038; Set git executables in PATH<br \/>\nRegards,<br \/>\nRajesh Kumar<br \/>\nTwitt me @ <a href=\"http:\/\/twitter.com\/RajeshKumarIn\" target=\"_blank\" rel=\"noopener\">twitter.com\/RajeshKumarIn<\/a><\/p>\n<p><strong>rajeshkumar replied the topic: ERROR: Error cloning remote repo &#8216;origin&#8217;<\/strong><br \/>\nYou can also install git automatically by selecting the checkbox as shown in pic<\/p>\n<p>Regards,<br \/>\nRajesh Kumar<br \/>\nTwitt me @ <a href=\"http:\/\/twitter.com\/RajeshKumarIn\" target=\"_blank\" rel=\"noopener\">twitter.com\/RajeshKumarIn<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>rajeshkumar created the topic: ERROR: Error cloning remote repo &#8216;origin&#8217; 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 &#8216;origin&#8217; ERROR: Error cloning remote repo &#8216;origin&#8217; Finished: FAILURE Regards, Rajesh Kumar Twitt me @ twitter.com\/RajeshKumarIn rajeshkumar&#8230;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_kad_post_transparent":"","_kad_post_title":"","_kad_post_layout":"","_kad_post_sidebar_id":"","_kad_post_content_style":"","_kad_post_vertical_padding":"","_kad_post_feature":"","_kad_post_feature_position":"","_kad_post_header":false,"_kad_post_footer":false,"_kad_post_classname":"","_joinchat":[],"footnotes":""},"categories":[38],"tags":[258],"class_list":["post-1816","post","type-post","status-publish","format-standard","hentry","category-git","tag-error"],"_links":{"self":[{"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/posts\/1816","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/comments?post=1816"}],"version-history":[{"count":2,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/posts\/1816\/revisions"}],"predecessor-version":[{"id":1818,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/posts\/1816\/revisions\/1818"}],"wp:attachment":[{"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/media?parent=1816"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/categories?post=1816"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/tags?post=1816"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}