Provide a SCMCheckoutStrategy to checkout only once for all matrix entries

This issue is archived. You can view it, but you can't modify it. Learn more

XMLWordPrintable

      When a project got a configuration matrix, the source code is checked out multiple times:

      • Once for reference incase of poll scm on schedule.
      • Once per matrix item, increasing proportionaly to the complexity.

      It would be great to have a strategy, which runs checkout only once in the master build.

      A patch proposal from @asolsson (initial implementation before creation of SCMCheckoutStrategy )

      I've implemented an enhancement to the matrix project to avoid a SCM checkout
      for each target in the matrix. This can be useful if checkout takes a long time
      and if the build step can build concurrent builds from the same SCM area.
      It's implemented as a option when setting up the Matrix project, if not
      used/checked the Matrix project will work as usual.

        1. matrix_update.diff
          4 kB
          asolsson
        2. useSameScmCheckout.diff
          6 kB
          asolsson
        3. patch.diff
          8 kB
          asolsson

            Assignee:
            Unassigned
            Reporter:
            asolsson
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Archived: