We have a Jenkins job which uses Multiple SCM to clone 5 repositories and 
then builds it using a gradle script. There are two things that are slowing 
us down:

   1. A build is triggered on every repository on every change. That is 
   fine, but it currently means that every time one of the repositories 
   changes, all repositories are cloned again. Is there a way to make sure 
   only the changed repo is cloned?
   2. Since it is a multi-configuration job, the clone is executed twice, 
   once in the parent workspace and once in the configuration workspace. Now 
   as I understand it this is the expected behaviour, but is there a way to 
   change this and only clone in one of those or just copy the cloned 
   workspace?

Also would there be a way to tell Jenkins to normally pull the repos with a 
hart reset and only clone on changes of .gitignore?

This is a duplicate of my question on Stackoverflow 
<http://stackoverflow.com/questions/28346410/speed-up-jenkins-cloning-git-repositories-with-multiple-scm-plugin-and-multi-con>,
 
it seems there is not much activity on the Jenkins front there. What is the 
best place to ask professional Jenkins questions?

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/80d1217d-0b7c-42d2-88c8-40f7138f27b5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to