Getting below error on Jenkins while creating a Maven Build Job

0 votes

Can you please help on below error? 

Getting below error on Jenkins while creating a Maven Build Job

Failed to connect to repository : Command "git ls-remote -h git@github.com:lokhandwalayusuf/simple_devops_project-3.git HEAD" returned status code 128:
stdout: 
stderr: Host key verification failed. 
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists

Aug 31, 2019 in Jenkins by Yusuf
• 120 points
2,272 views

1 answer to this question.

0 votes

When you are using ssh to connect, every host has a key. You might be facing this error if this host key has been changed. Make sure you have the updated key.

ssh-keygen -R domain.com

Use the above command to get the latest host key.

answered Sep 3, 2019 by Hari

Related Questions In Jenkins

+2 votes
3 answers

Permission denied error while running a simple job in Jenkins

Hey @Hannah, try changing the permissions using ...READ MORE

answered Oct 25, 2018 in Jenkins by krishti
58,575 views
+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,893 views
+1 vote
2 answers

I'm unable to build my code in Jenkins. Getting the error shown below.

Hi, @Ashutosh, Do you have a pom.xml in ...READ MORE

answered Aug 3, 2020 in Jenkins by Gitika
• 65,770 points
5,673 views
0 votes
1 answer

Error " unable to parse POM" while build on Jenkins

Maven tries to read /root/.jenkins/workspace/test tools as ...READ MORE

answered Oct 8, 2020 in Jenkins by Blackbuild
3,501 views
0 votes
1 answer

running a Jenkins job on multiple virtual servers.

Your goals can be achieved by using ...READ MORE

answered May 25, 2018 in Jenkins by shubham
• 7,340 points
3,169 views
+2 votes
4 answers
0 votes
1 answer

I’m facing a login error when I try to run Jenkins on Docker. How do I solve this?

You have to open the /var/log/jenkins/jenkins.log file to ...READ MORE

answered Jul 24, 2018 in Jenkins by Sophie may
• 10,620 points
3,593 views
+1 vote
7 answers

Error: Jenkins Maven Build 137

I disagree with @Pam's answer. The problem ...READ MORE

answered May 6, 2019 in Jenkins by Danica
9,232 views
+1 vote
4 answers

Is there a way to change the Jenkins build number while building a job?

If you have access to the script ...READ MORE

answered May 7, 2019 in Jenkins by Atul
29,818 views
+2 votes
5 answers
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