That is correct. Configure another git in Jenkins, using jgit, and sewer of that will work in your case without changing your installed git.
Mark Waite On Jan 8, 2014 1:23 PM, "Slide" <[email protected]> wrote: > This is just a guess, but your Git version looks pretty old, so perhaps it > doesn't support the --progress option at all. > > > On Wed, Jan 8, 2014 at 1:21 PM, Aaron Golub <[email protected]> wrote: > >> I'm having a hell of a time getting Jenkins to work with Git. I'm on >> Ubuntu 10.04, Jenkins 1.545, Git 1.7.9.5. I've installed the Jenkins Git >> Client 1.6, Jenkins Git 2.0 plugins as well as a few others that I use for >> ANT and SVN integrations >> >> I've tried setting up jobs to pull from both a local and remote Git repos >> using both Git and Stash Git repos. I've tried all kinds of different >> security set-up...including "public" access, access using no security at >> all. The problem is that every time I try to run a job I get an error >> saying "stderr: error: unknown option `progress'" The complete Console >> Output follows. Can anyone explain whats going on here and why I'm seeing >> this error? >> >> Console Output: >> >> >> Started by user AG >> Building in workspace >> /var/lib/jenkins/jobs/Info_test_Git-Test_Devgit2/workspace >> Fetching changes from the remote Git repository >> Fetching upstream changes from >> file:///home/homer/gitrepo/infotest/infotest.git >> FATAL: Failed to fetch from >> file:///home/homer/gitrepo/infotest/infotest.git >> hudson.plugins.git.GitException: Failed to fetch from >> file:///home/homer/gitrepo/infotest/infotest.git >> at hudson.plugins.git.GitSCM.fetchFrom(GitSCM.java:612) >> at hudson.plugins.git.GitSCM.retrieveChanges(GitSCM.java:836) >> at hudson.plugins.git.GitSCM.checkout(GitSCM.java:861) >> at hudson.model.AbstractProject.checkout(AbstractProject.java:1414) >> at >> hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:652) >> at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:88) >> at >> hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:561) >> at hudson.model.Run.execute(Run.java:1678) >> at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) >> at hudson.model.ResourceController.execute(ResourceController.java:88) >> at hudson.model.Executor.run(Executor.java:231) >> Caused by: hudson.plugins.git.GitException: Command "git fetch --tags >> --progress file:///home/homer/gitrepo/infotest/infotest.git >> +refs/heads/*:refs/remotes/origin/*" returned status code 129: >> stdout: >> stderr: error: unknown option `progress' >> usage: git fetch [options] [<repository> <refspec>...] >> or: git fetch [options] <group> >> or: git fetch --multiple [options] [<repository> | <group>]... >> or: git fetch --all [options] >> >> -v, --verbose be more verbose >> -q, --quiet be more quiet >> --all fetch from all remotes >> -a, --append append to .git/FETCH_HEAD instead of overwriting >> --upload-pack <PATH> path to upload pack on remote end >> -f, --force force overwrite of local branch >> -m, --multiple fetch from multiple remotes >> -t, --tags fetch all tags and associated objects >> -n do not fetch all tags (--no-tags) >> -p, --prune prune tracking branches no longer on remote >> --dry-run dry run >> -k, --keep keep downloaded pack >> -u, --update-head-ok allow updating of HEAD ref >> --depth <DEPTH> deepen history of shallow clone >> >> >> at >> org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:1099) >> at >> org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandWithCredentials(CliGitAPIImpl.java:985) >> at >> org.jenkinsci.plugins.gitclient.CliGitAPIImpl.access$200(CliGitAPIImpl.java:69) >> at >> org.jenkinsci.plugins.gitclient.CliGitAPIImpl$1.execute(CliGitAPIImpl.java:218) >> at >> org.jenkinsci.plugins.gitclient.CliGitAPIImpl.fetch(CliGitAPIImpl.java:224) >> at hudson.plugins.git.GitAPI.fetch(GitAPI.java:229) >> at hudson.plugins.git.GitSCM.fetchFrom(GitSCM.java:610) >> ... 10 more >> >> -- >> 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]. >> For more options, visit https://groups.google.com/groups/opt_out. >> > > > > -- > Website: http://earl-of-code.com > > -- > 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]. > For more options, visit https://groups.google.com/groups/opt_out. > -- 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]. For more options, visit https://groups.google.com/groups/opt_out.
