Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-57710

Git checkout fails when using "Git LFS pull after checkout"

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      Hi!
      We have a BB repository with git-lfs enabled. Whenever we chose to "git-lfs pull after checkout" (which we need in order for this build to succeed) we get the following error:

       
       

      Cloning the remote Git repository   Cloning with configured refspecs honoured and without tags   Cloning repository https://bitbucket.org/3yourmind/meshrepair.git 
       
      
       > git init /home/jenkins/agent/workspace/EV-635-jenkins-ci-implementation # timeout=10 
       
      
      Fetching upstream changes from https://bitbucket.org/3yourmind/meshrepair.git   > git --version # timeout=10  using GIT_ASKPASS to set credentials   > git fetch --no-tags --force --progress https://bitbucket.org/3yourmind/meshrepair.git +refs/heads/DEV-635-jenkins-ci-implementation:refs/remotes/origin/DEV-635-jenkins-ci-implementation  Fetching without tags  Checking out Revision 9bf80e426b1df16381f859979cc36364ae4fbfdd (DEV-635-jenkins-ci-implementation)  Enabling Git LFS pull   > git config remote.origin.url https://bitbucket.org/3yourmind/meshrepair.git # timeout=10 
       
      
       > git config --add remote.origin.fetch +refs/heads/DEV-635-jenkins-ci-implementation:refs/remotes/origin/DEV-635-jenkins-ci-implementation # timeout=10   > git config remote.origin.url https://bitbucket.org/3yourmind/meshrepair.git # timeout=10 
       
      
      Fetching upstream changes from https://bitbucket.org/3yourmind/meshrepair.git   using GIT_ASKPASS to set credentials 
       
      
       > git fetch --no-tags --force --progress https://bitbucket.org/3yourmind/meshrepair.git +refs/heads/DEV-635-jenkins-ci-implementation:refs/remotes/origin/DEV-635-jenkins-ci-implementation 
       
      
       > git config core.sparsecheckout # timeout=10 
       
      
       > git checkout -f 9bf80e426b1df16381f859979cc36364ae4fbfdd 
       
      
       > git branch -a -v --no-abbrev # timeout=10 
      > git checkout -b DEV-635-jenkins-ci-implementation 9bf80e426b1df16381f859979cc36364ae4fbfdd
      
      Could not checkout DEV-635-jenkins-ci-implementation with start point 9bf80e426b1df16381f859979cc36364ae4fbfdd

       
       
      It was working at a stage before this started happening, but now simply does not. It checks out normally when running without the Git LFS pull option. 
      There were no force pushes and I've tried to just use a new branch and implement my changes there with no avail.
      Other workarounds I have found have not worked either.
       
      Any input on this would be appreciated.
       

        Attachments

          Activity

          nandotheessen Nando Theessen created issue -
          Hide
          markewaite Mark Waite added a comment -

          Please don't use bug reports as a way to ask for help. In this case, the bug report was assigned to the wrong plugin, so was not seen until now. It should have been assigned to the git plugin and the question and related discussion should be in the Jenkins users mailing list or in one of the chat channels.

          Show
          markewaite Mark Waite added a comment - Please don't use bug reports as a way to ask for help. In this case, the bug report was assigned to the wrong plugin, so was not seen until now. It should have been assigned to the git plugin and the question and related discussion should be in the Jenkins users mailing list or in one of the chat channels.
          markewaite Mark Waite made changes -
          Field Original Value New Value
          Resolution Not A Defect [ 7 ]
          Status Open [ 1 ] Fixed but Unreleased [ 10203 ]
          markewaite Mark Waite made changes -
          Status Fixed but Unreleased [ 10203 ] Closed [ 6 ]

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            nandotheessen Nando Theessen
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: