-
Bug
-
Resolution: Fixed
-
Major
-
Centos 6.4,
git plugin 2.0
Credentials 1.8.3
Jenkins 1.533
Tried out Jgit with credential on linux (Centos 6.4) and got the following error
FATAL: org.jenkinsci.plugins.gitclient.JGitAPIImpl.setCredentials(Lcom/cloudbees/plugins/credentials/Credentials;)V java.lang.NoSuchMethodError: org.jenkinsci.plugins.gitclient.JGitAPIImpl.setCredentials(Lcom/cloudbees/plugins/credentials/Credentials;)V at hudson.plugins.git.extensions.impl.JGitCredential$1.invoke(JGitCredential.java:71) at hudson.plugins.git.extensions.impl.JGitCredential$1.invoke(JGitCredential.java:67) at org.jenkinsci.plugins.gitclient.AbstractGitAPIImpl.withRepository(AbstractGitAPIImpl.java:26) at org.jenkinsci.plugins.gitclient.JGitAPIImpl.withRepository(JGitAPIImpl.java:103) at hudson.plugins.git.extensions.impl.JGitCredential.decorate(JGitCredential.java:67) at hudson.plugins.git.GitSCM.createClient(GitSCM.java:560) at hudson.plugins.git.GitSCM.createClient(GitSCM.java:550) at hudson.plugins.git.GitSCM.checkout(GitSCM.java:825) at hudson.model.AbstractProject.checkout(AbstractProject.java:1411) at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:657) at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:88) at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:562) at hudson.model.Run.execute(Run.java:1665) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:246)