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

Unable to fetch Private repository in GitHub

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not A Defect
    • Icon: Critical Critical
    • core, github-plugin
    • apache-tomcat-7.0.75,jenkins-2.49 and tried on later versions also,windows (7,8.1,10,server 2012 R2),jdk-8u121-windows-x64,google chrome and edge browser,The error is same in both deployment in tomcat and also running the jar file from command line
    • 1.0

      today I am getting error with private repositories while building the job.WIth public it is successful.

      I am getting the below error.

       

      The error is same in both deployment in tomcat and also running the jar file from command line.

      ------------------

      Started by user admin
      Building in workspace C:\Windows\system32\config\systemprofile\.jenkins\workspace\InstallCreation
      Cloning the remote Git repository
      Cloning repository https://github.com/erwin-inc/BuildAutomation_DailyInstallCreation.git
      > git.exe init C:\Windows\system32\config\systemprofile\.jenkins\workspace\InstallCreation # timeout=10
      Fetching upstream changes from https://github.com/erwin-inc/BuildAutomation_DailyInstallCreation.git
      > git.exe --version # timeout=10
      using GIT_ASKPASS to set credentials github
      > git.exe fetch --tags --progress https://github.com/erwin-inc/BuildAutomation_DailyInstallCreation.git +refs/heads/:refs/remotes/origin/
      ERROR: Timeout after 10 minutes
      ERROR: Error cloning remote repo 'origin'

      ------------

            Unassigned Unassigned
            ur00361883 uday kiran reddy
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: