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

GIT plugin flubs http/https passwords

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Duplicate
    • Component/s: git-plugin
    • Labels:
      None
    • Similar Issues:

      Description

      If I give the git plugin a URL like:

      https://person:password@host/path.git

      1. The password is stored in the config.xml but never displayed in the box.
      2. The password is removed from the URL sent to the server.
      3. The build hangs after git prints a password prompt.


      a. There should be a separate text field for the password, perhaps?
      b. If the URL has a password, it should not be stripped before it is sent in the command line to the server.
      c. it should not hang due to a missing password, it should fail.

        Attachments

          Issue Links

            Activity

            Hide
            crusius crusius added a comment -

            I would like a separate text field for the password (I'm using git via SSH for example) too, and for the password to actually work when fetching/cloning. Such functionality would resolve an issue I filed (7346).

            Show
            crusius crusius added a comment - I would like a separate text field for the password (I'm using git via SSH for example) too, and for the password to actually work when fetching/cloning. Such functionality would resolve an issue I filed (7346).
            Hide
            markewaite Mark Waite added a comment -

            Credentials plugin support that is available with recent versions of the git plugin and the git client plugin provide a centralized solution for this bug.

            Show
            markewaite Mark Waite added a comment - Credentials plugin support that is available with recent versions of the git plugin and the git client plugin provide a centralized solution for this bug.

              People

              • Assignee:
                abayer Andrew Bayer
                Reporter:
                bimargulies bimargulies
              • Votes:
                1 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: