title: Can't connect jenkins to gitlab
body: <p>I have a setup of 2 VMs : VM1 with jenkins, VM2 with gitlab</p>
  
  <p>On VM2 I have created a repo with user root with public access <a href="http://192.168.0.32/root/sparkjava_hello_world" rel="nofollow noreferrer">http://192.168.0.32/root/sparkjava_hello_world</a> (acccess OK)
  and generate the access token</p>
  
  <p>On VM1:
  - I installed the gitlab plugin in jenkins
  - I copied the public key of user jenkins to authorized_key of user git in VM2 : from user jenkins shell, ssh git@VM2 is OK, no password asked
  - I created the gitlab api credential and pasted the access token in it
  - I configured the gitlab url in Manage Jenkins -> Configure System menu (it responds ok)</p>
  
  <p>BUT when I setup the git source git@192.168.0.32:root/sparkjava_hello_world.git in my jenkins job, it doesnt work :</p>
  
  <p><em>Failed to connect to repository : Command "/usr/bin/git ls-remote -h git@192.168.0.32:root/sparkjava_hello_world.git HEAD" returned status code 128:
  stdout: 
  stderr: fatal: 'root/sparkjava_hello_world.git' does not appear to be a git repository
  fatal: Could not read from remote repository.</em></p>
  
  <p>I assume the ssh connection to VM2 is ok, since this is not a connection refused message.</p>
  
  <p>I tried "ssh://git@192.168.0.32:root/sparkjava_hello_world.git" doesnt work either</p>
  
  <p>What did i missed, or did wrong ??
  thanks for help :)</p>