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

Limit parallel checkout on master in multibranch pipeline

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Duplicate
    • Icon: Minor Minor
    • None
    • Jenkins : 2.19.1 LTS
      Pipeline - Multibranch : 2.9

      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

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

              Created:
              Updated:
              Resolved: