Hi This is my first time setting up jenkins. Using 1.613
Simple task is to pull latest version of master from github when building a job. I am using: GIT client plugin v 1.17.1 GIT plugin v 2.3.5 The problem: jenkins "talks" to github ok BUT it checks out a very very old version (last commit on the first day of the repository), not the latest version, i'm assuming its a simple config error but after many hours i'm stumped so hoping someone can help. Git configuration in attached screenshot. Console output: Building in workspace /var/lib/jenkins/workspace/rais > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url ssh://[email protected]/xxxxx/xxx.git # timeout=10 Fetching upstream changes from ssh://[email protected]/xxxxx/xxx.git > git --version # timeout=10 > git fetch --tags --progress ssh://[email protected]/xxxxx/xxx.git > +refs/heads/*:refs/remotes/origin/* > git rev-parse refs/remotes/origin/master^{commit} # timeout=10 > git rev-parse refs/remotes/origin/origin/master^{commit} # timeout=10 Checking out Revision 9d4fd82b50276e4b5a287a91caad1b2f28885c8d (refs/remotes/origin/master) > git config core.sparsecheckout # timeout=10 > git checkout -f 9d4fd82b50276e4b5a287a91caad1b2f28885c8d > git rev-list 9d4fd82b50276e4b5a287a91caad1b2f28885c8d # timeout=10 "9d4fd82b50276e4b5a287a91caad1b2f28885c8d " is a commit from several months ago. -- <http://rais.io> -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/0a0929df-6f8e-424d-a1cf-24a5569f755e%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
