Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-28165

git plugin does not support username/password over ssh

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Duplicate
    • Icon: Major Major
    • git-plugin
    • None

      I have jenkins installed on a Ubuntu machine. I have a git repo hosted on a different Ubuntu server that I usually access via ssh. I created a new build project and I am just trying to get the git fetch working. I defined the URL correctly and created a new set of credentials that are a username and password. I am getting the error in the attached file. I don't know how else to debug this problem. I ran the following command in a terminal on my jenkins server (running as the jenkins user) and it prompted me for my password. When I entered the password, it printed nothing to the standard out or standard error.

      git -c core.askpass=true ls-remote -h mobius-test@blue.perform.illinois.edu:/srv/git/grp/mobius/Mobius.git HEAD

            ndeloof Nicolas De Loof
            kjkeefe Ken Keefe
            Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: