Issue Type: Bug Bug
Affects Versions: current
Assignee: Nicolas De Loof
Components: git-client
Created: 08/Jan/14 1:33 PM
Description:

Hi!
We have upgraded the git plugins and are facing an issue.
Git-client-plugin is not compatible with Java 1.5 at the moment, since TimeUnit.MINUTES is available in Java 1.6+ only.
Could you fix the plugin to be still compatible with Java 1.5?

Affected source file: CliGitAPIImpl.java

Error message, including stack trace:

Fetching upstream changes from /directory/of/the/git/repo
ERROR: Error cloning remote repo 'origin'
hudson.plugins.git.GitException: Error performing git command
	at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:1108)
	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$2.execute(CliGitAPIImpl.java:350)
	at org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler$1.call(RemoteGitImpl.java:152)
	at org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler$1.call(RemoteGitImpl.java:145)
	at hudson.remoting.UserRequest.perform(UserRequest.java:118)
	at hudson.remoting.UserRequest.perform(UserRequest.java:48)
	at hudson.remoting.Request$2.run(Request.java:326)
	at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72)
	at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:269)
	at java.util.concurrent.FutureTask.run(FutureTask.java:123)
	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:651)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:676)
	at java.lang.Thread.run(Thread.java:595)
Caused by: java.lang.NoSuchFieldError: MINUTES
	at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:1095)
	... 15 more
ERROR: null

Git upgrade was necessary for an other issue. "From" versions worked for us.

 
Jenkins GIT client plugin 1.1.1 -> 1.6.0
Jenkins GIT plugin 1.2.0 -> 2.0
Git server plugin 1.1 -> 1.2

Thanks!

Project: Jenkins
Labels: plugin exception git regression
Priority: Major Major
Reporter: András Szilárd
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