Sparse checkout will do that, though I think you will be better served by placing that information in the same repository which tracks the product, rather than in a separate repository.
If you separate configuration and source code, you risk that they will become inconsistent with each other. Mark Waite On Apr 13, 2014 8:57 AM, <[email protected]> wrote: > Hi Folks, > > thanks for your very quick response. I'm glad to it. > > I'm new to GIT, just before couple of days I started understanding it. > > *This is my requirement:* > > I have almost 20+ products, So, I would like to keep all my configuration > and property files which are required to build my project. > > Eg: I will create a repository with the name CM under this I will create > different folders. > All configuration files of product A is under A folder > All configuration files of product B is under B folder > > Developer will select product name based on that my Jenkins GIT job will > get those property files only not all under CM repo. > > > > On Thursday, April 10, 2014 9:55:21 PM UTC+5:30, [email protected] wrote: >> >> Hi Folks, >> >> I'm trying to checkout a specific file from GIT using Jenkins, I didn't >> any way how to get a specific file form GIT. >> >> Could any one tel how to do this by using jenkins or GIT command. >> >> we are accesing git through STASH my repository is like >> *ssh://[email protected]:7999/repo/test.git >> <http://[email protected]:7999/repo/test.git> * >> >> *there are 100 files in test, my requirement is checkout a specific file >> from test folder.* >> > -- > 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/d/optout. > -- 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/d/optout.
