2014-04-14 13:53 GMT-03:00 <srinath0...@gmail.com>:

> Hi Folks,
>
> I'm new to GIT.
>
> 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://g...@stash.xyz.com:7999/repo/test.git
> <http://g...@stash.xyz.com:7999/repo/test.git> *
>
> *there are 20 folders under test repo, my requirement is checkout a
> specific file/folder from test repo.*
>
> *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.
>
> Thanks in Advance.
>
> --
> You received this message because you are subscribed to the Google Groups
> "Git for human beings" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to git-users+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>

Hi, may be a better approach use a different repository for every product
instead of creating a single repo.
Or if the configuration files are the same but with different configuration
values, you may consider using branches for each product.

-- 
Nelson Efrain A. Cruz - https://plus.google.com/106845325502523605960/about

"Debes ser el cambio que esperas ver en el mundo" -Mahatma Gandhi

-- 
You received this message because you are subscribed to the Google Groups "Git 
for human beings" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to git-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to