Thank you very much for this excellent tutorial! I was trying to set up Github Webhook with Jenkins by following several tutorials on the web, but I`ve got a slight headache😅, because they tend to not explain primitive things, so your tutorial helped me to summarise everything.😉
Hello Dennis Do you have any video to create vpc with github, jenkins and terraform. I am looking for something which can teach us from scratch. Appreciated if you can help. Thank you
this is far from a complete tutorial, your webhook payload is not validated, more or less everyone can trigger your jenkins job, not professional, and for sure not "complete".
Hi, it is awesome, I am trying on my side, getting a message connecting to remote host "Host key verification failed" sh 'ssh -i ~/Testing.pem ubuntu@instance-ipaddress sudo git -C /var/www/html pull' Can I ask you for your recommendations to fix this error Thank you again
It's going to have something to do with either the .pem key, or the user your connecting with. To check this I would do the following: 1) Log into the Jenkins server on the command line (as the Jenkins user) and attempt to run the same command ( ssh -i ~/testing.pem user@ip-address... ). If it fails, then your .pem key may be in a different location and not in your ~ (home) directory. 2) Find the Testing.pem file location and update the location in the command. Test again locally on the jenkins server until the connection works with the .pem key. If it still doesn't work, check to make sure you're using the correct .pem key file. 3) If it still doesn't work, I would create a new SSH-KEY Pair and put the public one on the Jenkins server and test your connectivity again. 4) Once it's work's update the command in Jenkins and try again. Let me know how you get on.