Blue Ocean "Repository URL - Please enter a valid URL."

99 views Asked by At

I'm trying to create a Pipeline with my git repo in Blue Ocean, but whatever I enter in the text field I get the error 'Repository URL - Please enter a valid URL'. The Jenkins run through a Docker container.

I tried:

ssh://git@<my-host>:/home/git/repos/Genpcap.git
ssh://git@<my-host>:/home/git/repos/Genpcap
git@<my-host>:/home/git/repos/Genpcap.git
git@<my-host>:/home/git/repos/Genpcap

I have confirmed that the network is connected and the git service is available, any ideas?

1

There are 1 answers

4
Antonio Petricca On
  • Open Github/Gitlab/BitBucket project home and click on the clone button to copy the url.
  • Go to Jenkins, add a new pipeline selecting the git the right git flavour.