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 in Jenkins by anonymous
• 120 points
280 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 by MD
• 55,020 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
• 57,870 points
3,914 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,620 points
484 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,620 points
2,323 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
18,765 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
• 57,870 points
640 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
90 views
0 votes
1 answer
0 votes
1 answer