Re: Sparse Checkout in GIT

2014-10-06 Thread Richard Bywater
Even if it did people who received the email via mailing list like myself still have access anyway so if there's something that you have now had compromised, now's a good time to change it :) Richard. On 7/10/2014 6:53 AM, "Mark Waite" wrote: > I'm not a list administrator. I can't delete a pos

Re: Sparse Checkout in GIT

2014-10-06 Thread Mark Waite
I'm not a list administrator. I can't delete a posting. I'm not sure if Google Groups supports deletion. Mark Waite On Mon, Oct 6, 2014 at 11:20 AM, sai ram wrote: > Mark, > > Could you please do me a favor ??? This post includes my signature which > is displayed in public. Could you please d

Re: Sparse Checkout in GIT

2014-10-06 Thread sai ram
Mark, Could you please do me a favor ??? This post includes my signature which is displayed in public. Could you please delete this ?? Thanks, Sairam On Monday, July 14, 2014 6:40:56 PM UTC+5:30, Mark Waite wrote: > > Check that your git repository actually contains a commit with SHA1 > faaf2

Re: Sparse Checkout in GIT

2014-07-16 Thread sai ram
​Thanks Mark. Will try it. *Kind Regards, * *Sairam * 9884699987 | Skype - vjsairam On Wed, Jul 16, 2014 at 6:19 PM, Mark Waite wrote: > You could add a build step to the job which copies the file before the > step which performs the build. > > > On Wed, Jul 16, 2014 at 6:38 AM, sai ram wrote

Re: Sparse Checkout in GIT

2014-07-16 Thread Mark Waite
You could add a build step to the job which copies the file before the step which performs the build. On Wed, Jul 16, 2014 at 6:38 AM, sai ram wrote: > We do not have privileges to change the source code of the testng file > creation and it. > > The file is created to the workspace directory on

Re: Sparse Checkout in GIT

2014-07-16 Thread sai ram
We do not have privileges to change the source code of the testng file creation and it. The file is created to the workspace directory on the run time by taking the string parameters from Jenkins. is there any workaround for this ? *Kind Regards, * *Sairam * 9884699987 | Skype - vjsairam On We

Re: Sparse Checkout in GIT

2014-07-16 Thread Mark Waite
If you create the file yourself, then why not create the file in the directory where you want it? Alternately, why not copy it into the place where you want it with the same program or build step which created the file? On Wed, Jul 16, 2014 at 6:18 AM, sai ram wrote: > The dynamic file is not

Re: Sparse Checkout in GIT

2014-07-16 Thread sai ram
The dynamic file is not associated with the repo. We create a dynamic testng file and refer the test class in that. so the testng file should reside inside the repo. *Kind Regards, * *Sairam * 9884699987 | Skype - vjsairam On Wed, Jul 16, 2014 at 5:08 PM, Mark Waite wrote: > I don't understand

Re: Sparse Checkout in GIT

2014-07-16 Thread bandi pavankumar reddy
> > Hi mark i am trying to clone git repository in Jenkins it's not cloning > and displaying time out error give me any suggestion and one more thing > my repository is large repository and size is 16GB and very big repository > how can i clone in jenkins > how to set the build timeout i

Re: Sparse Checkout in GIT

2014-07-16 Thread Mark Waite
I don't understand what you mean by dynamic file. Git does not have a concept of a file kept in one location in the repository and moved to another during checkout, at least not as far as I know. I guess you could copy the file as part of your build script, but there is no way to make that part o

Re: Sparse Checkout in GIT

2014-07-15 Thread sai ram
When I do a sparse checkout, then in the Jenkins workspace I see, ProjectA/ProjectB but I want to create a dynamic file that has be moved inside the ProjectB and currently its located under, ProjectA/ProjectB abc.xml Please let me know how to do sparse checkout for this. Thanks, On Mon, Ju

Re: Sparse Checkout in GIT

2014-07-14 Thread Mark Waite
If directoryA is a parent of directoryB and you only want directoryB, then you would list directoryA/directoryB in the sparse checkouts field. On Mon, Jul 14, 2014 at 7:20 AM, sai ram wrote: > Thanks Mark. Will give a try. Could you please let me know what path > should I give in the sparse che

Re: Sparse Checkout in GIT

2014-07-14 Thread sai ram
Thanks Mark. Will give a try. Could you please let me know what path should I give in the sparse checkout if my project setup is as below, Root --- Project A Project B I want to sparse checkout Project B *Kind Regards, * *Sairam * 9884699987 | Skype - vjsairam On Mon, Jul 14, 2014 at

Re: Sparse Checkout in GIT

2014-07-14 Thread Mark Waite
Check that your git repository actually contains a commit with SHA1 faaf2c4ff254904ca0692a69270b9d342cd8a637 . If it does, then check that the repository which Jenkins is using actually contains a commit with SHA1 faaf2c4ff254904ca0692a69270b9d342cd8a637. Assure that you are not using "shallow cl

Re: Sparse Checkout in GIT

2014-07-14 Thread sai ram
Please help me out with this error, Command "git read-tree -mu HEAD" returned status code 128: stdout: stderr: fatal: Not a valid object name HEAD . . FATAL: Could not checkout null with start point faaf2c4ff254904ca0692a69270b9d342cd8a637hudson.plugins.git.GitException

Re: Sparse Checkout in GIT

2014-07-14 Thread Mark Waite
Yes, it is. You'll need a git version which supports sparse checkout, and a recent version of git-client-plugin and a recent version of git-plugin. Once you have those pre-requisites, then you click the "Add" button in "Additional Behaviours" and select "Sparse Checkout paths". We use it very of