[JIRA] (JENKINS-43427) git-plugin with both LFS and Sparse checkout behaviour pulls too many files

2019-02-11 Thread mark.earl.wa...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Mark Waite assigned an issue to Unassigned  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-43427  
 
 
  git-plugin with both LFS and Sparse checkout behaviour pulls too many files   
 

  
 
 
 
 

 
Change By: 
 Mark Waite  
 
 
Assignee: 
 Mark Waite  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)  
 

  
 

   





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


[JIRA] (JENKINS-43427) git-plugin with both LFS and Sparse checkout behaviour pulls too many files

2019-01-24 Thread rene.sche...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 René Scheibe assigned an issue to Mark Waite  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-43427  
 
 
  git-plugin with both LFS and Sparse checkout behaviour pulls too many files   
 

  
 
 
 
 

 
Change By: 
 René Scheibe  
 
 
Assignee: 
 René Scheibe Mark Waite  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)  
 

  
 

   





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


[JIRA] (JENKINS-43427) git-plugin with both LFS and Sparse checkout behaviour pulls too many files

2019-01-24 Thread rene.sche...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 René Scheibe updated  JENKINS-43427  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-43427  
 
 
  git-plugin with both LFS and Sparse checkout behaviour pulls too many files   
 

  
 
 
 
 

 
Change By: 
 René Scheibe  
 
 
Status: 
 In  Progress  Review  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)  
 

  
 

   





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


[JIRA] (JENKINS-43427) git-plugin with both LFS and Sparse checkout behaviour pulls too many files

2019-01-24 Thread rene.sche...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 René Scheibe assigned an issue to René Scheibe  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-43427  
 
 
  git-plugin with both LFS and Sparse checkout behaviour pulls too many files   
 

  
 
 
 
 

 
Change By: 
 René Scheibe  
 
 
Assignee: 
 René Scheibe  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)  
 

  
 

   





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


[JIRA] (JENKINS-43427) git-plugin with both LFS and Sparse checkout behaviour pulls too many files

2019-01-24 Thread rene.sche...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 René Scheibe started work on  JENKINS-43427  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
Change By: 
 René Scheibe  
 
 
Status: 
 Open In Progress  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)  
 

  
 

   





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


[JIRA] (JENKINS-43427) git-plugin with both LFS and Sparse checkout behaviour pulls too many files

2018-02-27 Thread tiffl...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Tiffany Loon commented on  JENKINS-43427  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: git-plugin with both LFS and Sparse checkout behaviour pulls too many files   
 

  
 
 
 
 

 
 I was able to fix this in the git-client-plugin. I have submitted a pull request to include the change to the owner of the plugin.  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.3.0#73011-sha1:3c73d0e)  
 
 

 
   
 

  
 

  
 

   





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


[JIRA] (JENKINS-43427) git-plugin with both LFS and Sparse checkout behaviour pulls too many files

2018-02-22 Thread j.be...@stoneball.de (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Jens Beyer edited a comment on  JENKINS-43427  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: git-plugin with both LFS and Sparse checkout behaviour pulls too many files   
 

  
 
 
 
 

 
 As this seems to take a while to be fixed, a heads up on how I solved this for now:Check if the checkout already exists; if not, do a manual sparse checkout configuration. Then do the normal checkout. If the checkout already exists, skip the first part.It is basically something around the following snippet (which may not work directly, you will need to adapt your use case to it).{{ if (!fileExists('.scm/.gitattributes')) \{}}{{  bat "git clone --no-checkout $gitrepourl .scm"}}{{  dir('.scm') \{}}{{    bat "git config core.sparsecheckout true"}}{{    bat "echo /.gitattributes>.git/info/sparse-checkout"}}{{    bat "echo /.gitignore>>.git/info/sparse-checkout"}}{{    bat "echo /$baseDir>>.git/info/sparse-checkout"}}{{    bat "git checkout $BRANCH_NAME"}}{{  }}}{{  checkout scm: [$class: 'GitSCM', branches: [[name: "refs/heads/$BRANCH_NAME"]], extensions: [[$class: 'SparseCheckoutPaths', sparseCheckoutPaths: [[path: '/' + baseDir], [path: '/.gitattributes'], [path: '/.gitignore']]], [$class: 'RelativeTargetDirectory', relativeTargetDir: '.scm']], gitTool: 'local', submoduleCfg: [], userRemoteConfigs: [[url: "$gitrepourl"]]]}}{{}}}    
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.3.0#73011-sha1:3c73d0e)  
 
 

 
   
 

  
 

  
 

   





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


[JIRA] (JENKINS-43427) git-plugin with both LFS and Sparse checkout behaviour pulls too many files

2018-02-22 Thread j.be...@stoneball.de (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Jens Beyer commented on  JENKINS-43427  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: git-plugin with both LFS and Sparse checkout behaviour pulls too many files   
 

  
 
 
 
 

 
 As this seems to take a while to be fixed, a heads up on how I solved this for now: Check if the checkout already exists; if not, do a manual sparse checkout configuration. Then do the normal checkout. If the checkout already exists, skip the first part. It is basically something around the following snippet (which may not work directly, you will need to adapt your use case to it). {{ if (!fileExists('.scm/.gitattributes')) {}}   bat "git clone --no-checkout $gitrepourl .scm"   dir('.scm') {     bat "git config core.sparsecheckout true"     bat "echo /.gitattributes>.git/info/sparse-checkout"     bat "echo /.gitignore>>.git/info/sparse-checkout"     bat "echo /$baseDir>>.git/info/sparse-checkout"     bat "git checkout $BRANCH_NAME" {{  }}}   checkout scm: [$class: 'GitSCM', branches: [[name: "refs/heads/$BRANCH_NAME"]], extensions: [[$class: 'SparseCheckoutPaths', sparseCheckoutPaths: [[path: '/' + baseDir], [path: '/.gitattributes'], [path: '/.gitignore']]], [$class: 'RelativeTargetDirectory', relativeTargetDir: '.scm']], gitTool: 'local', submoduleCfg: [], userRemoteConfigs: [[url: "$gitrepourl"]]] }    
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.3.0#73011-sha1:3c73d0e)  
 
 

 
   
 

  
 

  
 

   





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


[JIRA] (JENKINS-43427) git-plugin with both LFS and Sparse checkout behaviour pulls too many files

2018-02-21 Thread bull...@hotmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Pamela B commented on  JENKINS-43427  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: git-plugin with both LFS and Sparse checkout behaviour pulls too many files   
 

  
 
 
 
 

 
 I am also having this issue. Any updates?  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.3.0#73011-sha1:3c73d0e)  
 
 

 
   
 

  
 

  
 

   





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