git-plugin 4.7.1 fails

391 views
Skip to first unread message

Morten Bjoernsvik

unread,
Apr 29, 2021, 3:27:39 AM4/29/21
to Jenkins Users

The recommended git tool is: NONE
07:00:00 FATAL: org.jenkinsci.plugins.gitclient.GitClient
07:00:00 java.lang.NoClassDefFoundError: org.jenkinsci.plugins.gitclient.GitClient
07:00:00     at org.jenkinsci.plugins.gitclient.Git$GitAPIMasterToSlaveFileCallable.invoke(Git.java:168)
07:00:00     at org.jenkinsci.plugins.gitclient.Git$GitAPIMasterToSlaveFileCallable.invoke(Git.java:149)
07:00:00     at hudson.FilePath.act(FilePath.java:1172)
07:00:00     at hudson.FilePath.act(FilePath.java:1155)
07:00:00     at org.jenkinsci.plugins.gitclient.Git.getClient(Git.java:121)
07:00:00     at hudson.plugins.git.GitSCM.createClient(GitSCM.java:906)
07:00:00     at hudson.plugins.git.GitSCM.createClient(GitSCM.java:837)
07:00:00     at hudson.plugins.git.GitSCM.checkout(GitSCM.java:1290)
07:00:00     at hudson.scm.SCM.checkout(SCM.java:505)
07:00:00     at hudson.model.AbstractProject.checkout(AbstractProject.java:1215)

reverting to 4.7.0 and it works again.

There is no bug submit here: https://github.com/jenkinsci/git-plugin

jenkins 2.290

--
MortenB, Oslo, Norway


Björn Pedersen

unread,
Apr 29, 2021, 3:45:42 AM4/29/21
to Jenkins Users
We are running git-4.7.1 without problems. Check that git-client-plugin  3.7.1 is also installed.

Björn

Morten Bjoernsvik

unread,
Apr 29, 2021, 5:52:28 AM4/29/21
to Jenkins Users

git
4.7.0

git-client
3.7.1

Host is ubuntu 18.04 with kernel 5.4.0-72-generic

Mark Waite

unread,
Apr 29, 2021, 8:23:26 AM4/29/21
to Jenkins Users
I've seen reports of that type of failure when the agent JDK was outdated or the agent.jar file was outdated.  I have the "Version Node Monitors" plugin installed on my Jenkins instance so that I can see the agent remoting versions and agent JVM versions that are connected to my controller.

--
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 jenkinsci-use...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/1089aac0-52f1-4a29-a80f-a6a19251227dn%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages