Failed to connect to repository Failed to create http proxy uri

0 votes

I am trying to connect my Gihub repository with jenkins and configuring the webhooks so i can get build update.

While configuring new Item in Jenkins and selected Freestyle project .

While configure settings then under Source code Management after selecting GIT then while providing Repository URL getting an error :

"Failed to connect to repository : Failed to create http proxy uri"

Can someone help on this?

Apr 9, 2020 in Jenkins by anonymous
• 120 points
2,770 views

1 answer to this question.

0 votes

Hi,

To avoid this error, you have to set your git path in jenkins. Follow the below given steps.

Go to jenkins-> Manage jenkins-> Global Tool Configuration->inside git add path.

Before that check git path where you installed in your system.

For windows system use Get-Command git.exe | Select Definition.

For Linus system use which git.

Hope this will help you.

answered Apr 10, 2020 by MD
• 95,460 points

Related Questions In Jenkins

0 votes
2 answers

Error Jenkins: Failed to connect to repository

Jenkins runs as another user, not as ...READ MORE

answered Aug 7, 2019 in Jenkins by Sirajul
• 59,230 points
10,674 views
0 votes
1 answer
0 votes
1 answer

An error “Unable to create the home directory ‘JENKINS_HOME’”

This is most probably a permission problem. You ...READ MORE

answered Jul 19, 2018 in Jenkins by Kalgi
• 2,680 points
3,595 views
0 votes
1 answer

Jenkins failed to set git

Change to the jenkins user and run the command ...READ MORE

answered Jul 19, 2018 in Jenkins by Kalgi
• 2,680 points
5,579 views
0 votes
5 answers

How to resolve this error “Jenkins Host key verification failed”?

HI Mam, Please check the following solution:: 1. Switch ...READ MORE

answered May 3, 2019 in Jenkins by anonymous
62,185 views
0 votes
2 answers

How to connect Bitbucket to Jenkins properly

In order to build your repo after ...READ MORE

answered Aug 8, 2019 in Jenkins by Sirajul
• 59,230 points
2,617 views
0 votes
2 answers

timeout issue when trying to connect instance with putty

Hey @Ali, You might not have enabled ...READ MORE

answered Dec 20, 2018 in Jenkins by Eric
1,085 views
0 votes
1 answer
+1 vote
1 answer
+1 vote
3 answers

How to auto build a job in jenkins if there is any change in code on Github repository?

To automatically run build on code commit, follow ...READ MORE

answered Jul 31, 2019 in Jenkins by Sirajul
• 59,230 points
78,896 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP