I am trying to create a simple pipeline job with Jenkinsfile placed in GIT SCM. However when I am providing URL of my public GIT repo to fetch the jenkinsfile I am getting below error.
Failed to connect to repository : Error performing git command: git ls-remote -h <my_repo>
That is the only message I can see as soon I give the URL in the box. This is on the jenkins pipeline section of a job when I want to pull Jenkinsfile.