jenkinsci/jenkins — pull request #388 by thors (2012-02-23 13:49:43+00:00)
Title: FIXED JENKINS-4960: New option: Only one SCM checkout in parent workspac...

This pull request replaces pull/375 (JENKINS-4960 (Use same SCM checkout for all matrix entries)), which was also proposed by me. The reason for the new user name is that I made some mistake with my first fork as tho74 (I committed some modifications to master on my fork) and needed to fork again. Now I want to delete my old user account (and therefore the old fork). I took the opportunity to clean up and collect all modifications in one change-set, which hopefully makes review easier and avoids some useless modifications.

Here is the updated proposed patch for JENKINS-4960. Its based on revision 5461577 (branch master from main repo, updated 15th of February). Besides updating the patch to match the current master, I modified it in following ways:

Allow this feature even when different nodes are used (previous patch threw an exception in this case because without shared drive the sub projects would not have access to the repository; however, this is our dedicated usecase, and it is documented in config page)
Make the parent build executor name available to subseqent builds
Make the path to the root workspace available to subseqent builds

We need this feature badly, so if this patch is not acceptable for some reason please tell me how to fix this...