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

Limit parallel checkout on master in multibranch pipeline

    Details

    • Type: Improvement
    • Status: Resolved (View Workflow)
    • Priority: Minor
    • Resolution: Duplicate
    • Labels:
      None
    • Environment:
      Jenkins : 2.19.1 LTS
      Pipeline - Multibranch : 2.9
    • Similar Issues:

      Description

      The first step on a multibranch pipeline is a checkout by the master to get the Jenkinsfile.
      This checkout is made by something like a pseudo agent on master, even if the master have no executor available.

      When you start a branch indexation on the multibranch job, it starts a build for each branch with a new commit (and it's what I like), but, if there is 20 branches needed to be builded, the master is starting 20 checkouts in parallel. And in some environments, it fails with a Git EOF error.

      I need to limit the number of parallel git fetch on master for that, but there is no option.

      Thanks

        Attachments

          Issue Links

            Activity

            There are no comments yet on this issue.

              People

              • Assignee:
                Unassigned
                Reporter:
                tduboys Thomas du Boÿs
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: