Help Needed: Jenkins Git Repository Connection Error on Ubuntu

Hi everyone,

I’ve been facing a persistent error with Jenkins on my Linux-Ubuntu system for the past two days. I’ve researched solutions on Stack Overflow, Google, and even ChatGPT, but I haven’t found a fix that works for my case.

Here’s a summary of my setup and issue:

I’d really appreciate any insights or suggestions on how to troubleshoot and fix this issue. Thanks in advance!

Hi, try SSH-ing into the server where Jenkins is installed and run this command:

bash

git ls-remote https://github.com/PRABAKARAN32/jenkins_learn.git

If that doesn’t work, the server might not have access to GitHub repositories.

1 Like