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

Parent remote credentials not used when updating submodules

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major

      Hi everyone,

      I'm trying to set up a multibranch pipeline on a repository containing a submodule that lives under the same Github account as my main repository. You'll find a screenshot of the job configuration below.

      However, credentials from the parent (main) repo don't seem to be used to pull the submodule. Therefore, the "checkout scm" step fails with the following error:

      Host key verification failed.
      fatal: Could not read from remote repository.
      
      Please make sure you have the correct access rights
      and the repository exists.
      

      Many thanks in advance for your help.

      -Étienne

            Unassigned Unassigned
            elafarge Etienne Lafarge
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: