Hi Folks,
Thanks for your valuable info... I'm trying with creating branch for every
project.
On Thursday, April 10, 2014 9:55:21 PM UTC+5:30, srina...@gmail.com 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
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.
Mar
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.
If you *must* get a single file, you can use HTTPS and a pre-build step
with a command line web client like wget or curl. For stash you can use
the same path that you can find using the web interface:
https://stash.example.com/projects/MYPROJECT/repos/myrepo/browse/myfile.txt?at=adc83b19e793491b
Git does not provide a way to clone (checkout) a single file. You must clone
some portion of the repository and then checkout a branch that contains the
file you need.
- Original Message -
From: jenkinsci-users@googlegroups.com
To: jenkinsci-users@googlegroups.com
At: Apr 10 2014 12:29:3
look at sparse checkout as one way you might do that.
On Apr 10, 2014 10:25 AM, 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.
>
> w
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://g...@stash.xyz.com:7999/repo/test.gi