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

Windows JGit Slave agent posts "Authentication Required" dialog when checking out from git

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: Minor Minor
    • git-client-plugin
    • None
    • Jenkins 2.7 (Linux)
      Jenkins slave 2.57 (Windows 7)
      git-client-plugin 1.19.6
      git-plugin 2.4.4

      I have a simple job that checks out from a git repository (using https:// URL) and prints a directory of the workspace. Whenever this job runs on my Windows slave (connected by JNLP with slave agent running on the slave's desktop - that is, NOT as a service) it posts a dialog box to the slave's desktop requesting credentials for the git repository. While the dialog box is open the job hangs. As soon as I cancel the dialog without entering credentials the job completes successfully, however, the next execution of the job posts the dialog box again. I've provided the appropriate credentials in Jenkins for this git repository. When using git-client-plugin 1.18.0 and git-plugin 2.2.13 this job runs successfully without posting the dialog box on the slave.

            Unassigned Unassigned
            rsbaker56 Robert Baker
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: