Normally Jenkins will checkout the folder and all its subfolders that you specify.
So make sure you are specifying which folder you want to checkout. Not sure what your svn structure is, but using the following as an example: http://hostname/svn/trunk/projectA http://hostname/svn/trunk/projectB http://hostname/svn/branches/projectA_branch1 http://hostname/svn/projectC/trunk http://hostname/svn/projectC/branches If you want to checkout ProjectA, make sure you put the following in the svn field: http://hostname/svn/trunk/projectA Don't put in http://hostname/svn/ - this will checkout everything!! Or http://hostname/svn/trunk/ - this will checkout everything in trunk folder, so ProjectA and projectB Geoff On 13 Apr 2013, at 19:18, Mwarne <[email protected]> wrote: Thanks Les, So is it normal, when creating a new project, for Jenkins to copy the entire repository of our project onto it's own workspace. It seems like that is what it is doing. We have database snapshots stored in the repo, and they are moderately large. Some of these are quite old, and will never be used. So the initial project setup is taking hours. Thanks, Mike. On Friday, April 12, 2013 10:12:51 AM UTC-10, LesMikesell wrote: > > On Fri, Apr 12, 2013 at 2:52 PM, Mwarne <[email protected] <javascript:>> > wrote: > > Hello, > > > > Is it possible to have Jenkins simply check out the HEAD of our SVN > > repository. > > > > When I try to create a new project, it seems that it is downloading all > > branches -- everything for many years back. > > > > Can't I just start a project using what is in the HEAD? Or does it have > to > > load all branches into the build server first? > > > > Normally svn repositories are structured with /trunk, /branches, /tags > for a project. HEAD refers to the last revision available, not any > particular path location. The usual appoach would be to point the > jenkins job at the trunk for a project and have it build whenever > something new is committed there - and that should not check out any > branches or tags. > > -- > Les Mikesell > [email protected] <javascript:> > -- 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 [email protected]. For more options, visit https://groups.google.com/groups/opt_out. -- 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 [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
