Multibranch pipeline does a full clone of the repository for any new branch

XMLWordPrintable

    • Type: Bug
    • Resolution: Unresolved
    • Priority: Minor
    • None
    • Environment:

      I have a multibranch pipeline using github SCM.

      Each time a build is triggered for a new branch, the job is doing a full clone of the repository (~ 3min in our case).

      However, if the branch already exists, the job only does a fetch of the repository (~5s in our case).

      We are using a single node (aka jenkins master). 

      Is there any solution without setting a reference repository up?

      For exemple, something like a git repo cache could exists on each node, and this repo is duplicated in the workspace before checking out the latest changes.

            Assignee:
            Aaron Whiteside
            Reporter:
            manuel boillod
            Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated: