Unable to initialize private submodules due to access error (Windows-only)

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

XMLWordPrintable

    • Type: Bug
    • Resolution: Not A Defect
    • Priority: Major
    • Component/s: git-client-plugin
    • Environment:

      See initial Stack Overflow question: https://stackoverflow.com/questions/46518082/jenkins-git-plugin-unable-to-initialize-submodules

      I have since updated all components to their latest releases.

      The project "Parent_test_repo" includes "Child_test_repo" as a submodule.  These are both private repositories.  They use the same SSH key, which has been add to the Jenkins credentials.

      Building the project results in the parent repository being correctly accessed and clone, but the the "git submodule init" fails with a 128 (access violation?) error. 

      This problem is specific to Windows: On Ubuntu 17.10 it correctly initializes the submodule and the build succeeds.

      Variations tried unsuccessfully:

      • Using Windows 7 instead of 10
      • Using ~/.ssh instead of storing private SSH key in Jenkins
      • Using HTTPS login instead of SSH
      • Using Bitbucket instead of GitHub
      • Using relative paths in submodule URL

      I'm concluding it's a Windows-specific issue with submodule authentication.
      I am willing to help debug further.

            Assignee:
            Mark Waite
            Reporter:
            Matthew Plavcan
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Resolved:
              Archived: