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

Git submodule checkout not working

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Critical Critical
    • None

      After updating to version 2.5.7 of Github Branch Source we see issues with git submodule. Checkout over ssh is configured. 

      Jobs fails with the following logs:
      + git submodule update --init
      Submodule 'subrepo' (git@github.com:orga/subrepo.git) registered for path 'subrepo'
      Cloning into 'suprepo'...
      Permission denied (publickey).
      fatal: Could not read from remote repository.

      Please make sure you have the correct access rights
      and the repository exists.
      Clone of 'git@github.com:orga/subrepo.git' into submodule path 'subrepo' failed
      Remote repo exists and github user (ssh key) has access to repo. Checkout locally works fine.

      Any idea? 

       

            bitwiseman Liam Newman
            tobsh tobs h
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: