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

git clone fails with repositories which require http auth

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Component/s: git-plugin
    • Labels:
      None
    • Environment:
      Platform: All, OS: All
    • Similar Issues:

      Description

      Creating a new job with a repo which is served over https and requires http
      authentication fails, hudson just sits there and waits for a password to be
      entered on the controlling terminal.

      I have a setup where the authentication credentials are supplied in a .netrc.
      This worked until I upgraded the git plugin (nothing else changed)

      This does not affect jobs where the repo has been cloned already and is just
      updated.

      It works if I clone the repo manually on the machine into the workspace
      directory and then run the job (configuration of the job not touched).

        Attachments

          Issue Links

            Activity

            larsko larsko created issue -
            lucamilanesio lucamilanesio made changes -
            Field Original Value New Value
            Assignee jbq [ jbq ] lucamilanesio [ lucamilanesio ]
            abayer Andrew Bayer made changes -
            Assignee lucamilanesio [ lucamilanesio ] abayer [ abayer ]
            abayer Andrew Bayer made changes -
            Link This issue is duplicated by JENKINS-7091 [ JENKINS-7091 ]
            abayer Andrew Bayer made changes -
            Status Open [ 1 ] Resolved [ 5 ]
            Resolution Fixed [ 1 ]
            markewaite Mark Waite made changes -
            Status Resolved [ 5 ] Closed [ 6 ]
            rtyler R. Tyler Croy made changes -
            Workflow JNJira [ 133880 ] JNJira + In-Review [ 202465 ]

              People

              • Assignee:
                abayer Andrew Bayer
                Reporter:
                larsko larsko
              • Votes:
                6 Vote for this issue
                Watchers:
                7 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: