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

Only first repository cloned in a job with multiple repositories.

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Minor
    • Resolution: Won't Fix
    • Labels:
      None
    • Environment:
      Jenkins ver. 2.46.2
      Git client plugin 2.7.1
      Git plugin 3.7.0
      and all related dependencies have been successfully installed as per attached screenshot.

      Git version on the RedHat node is 2.12.2
      Bitbucket v4.14.2
    • Similar Issues:

      Description

      When inside the same Jenkins Multi_Job_Project two or more repositories are specified to be cloned, only the first one is cloned.

      Workaround: is possible to add the "git clone" commands in the prebuild scripts to have the full project cloned into a different folder on the node, as per attached log.

        Attachments

          Activity

          Hide
          markewaite Mark Waite added a comment -

          The Multi-Job plugin was created in 2011 by the Tikal ALM team. It is an initial attempt to solve the same class of problems that are now solved much more effectively by Jenkins Pipeline. Checkout of multiple repositories in a Jenkins Pipeline is well supported and well tested. Please use Jenkins Pipeline instead of the Multi-Job Plugin.

          Show
          markewaite Mark Waite added a comment - The Multi-Job plugin was created in 2011 by the Tikal ALM team. It is an initial attempt to solve the same class of problems that are now solved much more effectively by Jenkins Pipeline . Checkout of multiple repositories in a Jenkins Pipeline is well supported and well tested. Please use Jenkins Pipeline instead of the Multi-Job Plugin.

            People

            • Assignee:
              Unassigned
              Reporter:
              fl francesco labate
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: