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.