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

Git submodule checkout not working

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open (View Workflow)
    • Priority: Critical
    • Resolution: Unresolved
    • Labels:
      None
    • Environment:
    • Similar Issues:

      Description

      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? 

       

        Attachments

          Activity

          tobsh tobs h created issue -
          Hide
          bitwiseman Liam Newman added a comment -

          Does this work on 2.5.6 or earlier? 

          Also did you upgrade git client plugin at the same time? 

          Show
          bitwiseman Liam Newman added a comment - Does this work on 2.5.6 or earlier?  Also did you upgrade git client plugin at the same time? 
          Hide
          bitwiseman Liam Newman added a comment -

          tobs h
          Have you updated since?

          Show
          bitwiseman Liam Newman added a comment - tobs h Have you updated since?

            People

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

              Dates

              Created:
              Updated: