Unable to fetch Private repository in GitHub

This issue is archived. You can view it, but you can't modify it. Learn more

XMLWordPrintable

      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'

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

            Assignee:
            Unassigned
            Reporter:
            uday kiran reddy
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Resolved:
              Archived: