Status: Resolved (View Workflow)
Ubuntu 12.04.2 LTS
Jenkins ver. 1.633
Gerrit Trigger 2.14.0 (same error with 2.16.0)
GIT client plugin 1.19.0
GIT plugin 2.4.0
java version "1.7.0_51"
After updating our Jenkins server and all plugins I get the "java.lang.ClassNotFoundException: com.jcraft.jsch.Buffer" exception when using the Gerrit Trigger plugin - e.g. Clicking on the "Query and Trigger Gerrit Patches" menu entry
JENKINS-30820 plugin failures after upgrade of bytecode-compatability-transformer
After Orgad Shaneh comment I have updated Jenkins. I can also confirm that the Gerrit Trigger version 2.16.0 still works with Jenkins 1.632 .
Sorry, forgot to post the temporary solution (if you have a Debian/Ubuntu) setup:
- from http://pkg.jenkins-ci.org/debian/ download the http://pkg.jenkins-ci.org/debian/binary/jenkins_1.632_all.deb using wget
- Install the downloaded package
sudo dpkg -i jenkins_1.632_all.deb
Thanks. I'm on redhat, and the solution there is:
yum downgrade jenkins
Followed by disabling the repo for now.
Downgrading fixes the issue for me, as well.
This issue duplicates
JENKINS-30820. While this one has more watchers, the proposed fix(es) reference the other issue, so any progress should be tracked there.
As workaround I copied the jsch-0.1.53.jar to the lib folder of my tomcat. It seems to work...
After downgrading our Jenkins server from 1.633 to 1.624 the Gerrit trigger plugin works again (also with Gerrit Trigger version 2.16.0).