![]() |
|
|
|
|
Issue Type:
|
Improvement
|
|
Assignee:
|
Nicolas De Loof
|
|
Components:
|
git-plugin |
|
Created:
|
26/Apr/15 5:06 AM
|
|
Description:
|
During a matrix build, the repository is cloned once for each configuration, and an extra time for the coordinating build in the matrix.
It should be possible to create a single copy of the repository and reuse that for each of the builds, which should reduce network traffic, server load on the git remote being queried and disk usage, and improve build time.
A possible implementation strategy would be to ensure that the .git directory from the toplevel workspace is always used, and to coordinate that only a single process may invoke "git fetch" at a time. Other processes can simply wait for the active fetch operation to complete, and need not do anything if the same parameters were used (as would be likely).
Unless there are submodules, it is also not necessary to check out any files in the coordinating build, and even with submodules, only .gitmodules is strictly necessary.
|
|
Project:
|
Jenkins
|
|
Labels:
|
matrix
performance
disk
|
|
Priority:
|
Minor
|
|
Reporter:
|
Simon Richter
|
|
|
|
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira
|
--
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
[email protected].
For more options, visit
https://groups.google.com/d/optout.