Issue Type: Bug Bug
Affects Versions: current
Assignee: Nicolas De Loof
Components: git
Created: 08/May/13 3:07 AM
Description:

I understand that the git plugin is now using git-client?

I can't get my upgraded Jenkins instance to clone a repository at all.
I've tried adding
-Dorg.jenkinsci.plugins.gitclient.Git.useCLI=true
-Dhudson.util.ProcessTree.disable=true

I've also tried setting environment variables (GIT_HOME and HOME) in Jenkins as per the details on this page.
https://wiki.jenkins-ci.org/display/JENKINS/Git+Plugin

I've set the tool location of Git (gitk.cmd) .
GitInstallations no longer works (I assume because of the use of Git-Client now)

Log output from job looks like this:
Checkout:workspace / C:\Jenkins\jobs\Maintenance_CollectArtefactVersions\workspace - hudson.remoting.LocalChannel@2b498ab1
Using strategy: Default
Cloning the remote Git repository
Cloning repository ssh://[email protected]:7999/Repos/deployscripts.git
git --version
Process leaked file descriptors. See http://wiki.jenkins-ci.org/display/JENKINS/Spawning+processes+from+build for more information
Fetching upstream changes from origin
FATAL: Invalid id: Process leaked file descriptors. See http://wiki.jenkins-ci.org/display/JENKINS/Spawning+processes+from+build for more information
java.lang.IllegalArgumentException: Invalid id: Process leaked file descriptors. See http://wiki.jenkins-ci.org/display/JENKINS/Spawning+processes+from+build for more information
at org.eclipse.jgit.lib.ObjectId.fromString(ObjectId.java:232)
at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.revParse(CliGitAPIImpl.java:264)
at hudson.plugins.git.GitAPI.revParse(GitAPI.java:252)

I'm still kind of assuming I'm doing something wrong now that git is using git-client, or need to remove something given how much use of Jenkins+Git I've had in the past (3+years on ~50 build servers).

Environment: Windows Server 2008 R2 x64
Jenkins 1.514 - Running as windows service under user account (installed from war file)
MSYSGit 1.8.1.2
Cloning from Stash v2.31
Project: Jenkins
Priority: Major Major
Reporter: Brian Mills
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira

--
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 [email protected].
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Reply via email to