plugins upgrade breaks jenkins

566 views
Skip to first unread message

jo...@norricorp.f9.co.uk

unread,
Jul 6, 2016, 3:07:51 PM7/6/16
to Jenkins Users
Hi,
I am running Jenkins 2.1 on Mint 17.
I installed the "docker-build-step" plugin (which also installed "docker-common") and noticed upgrades for git and gitlab-plugin so upgrades those too. The latter also upgraded "authentication-tokens" and "credentials".
They installed and I restarted Jenkins. When it restarted there were several problems. When I went to the URL, I got "Please wait while Jenkins is restarting" message. Waited, got bored, restarted server. In /var/logs/jenkins, the log had entry of
Jul 06, 2016 3:44:39 PM hudson.init.impl.InstallUncaughtExceptionHandler$DefaultUncaughtExceptionHandler uncaughtException
SEVERE: A thread (pool-6-thread-2/21) died unexpectedly due to an uncaught exception, this may leave your Jenkins in a bad way and is usually indicative of a bug in the code.
java.lang.NoClassDefFoundError: org/jenkinsci/plugins/github_branch_source/GitHubSCMSource.

So I went to /var/lib/jenkins/plugins and added .disabled to the following jpi files
github-api.jpi
github-branch-source.jpi
github.jpi
github-organization-folder.jpi

Rebooted and url then gave log in screen.

Is there a problem with the github plugins and the upgraded git and gitlab plugins and / or docker plugins?

Regards,
John

 

Mark Waite

unread,
Jul 6, 2016, 5:27:02 PM7/6/16
to Jenkins Users
If you've installed git plugin 2.5.1, you need to update to 2.5.2. Git plugin 2.5.1 introduced a serious incompatibility for GitSCMSource API users.  The incompatibility is fixed in git plugin 2.5.2.  My apologies for that bug!

Mark Waite

jo...@norricorp.f9.co.uk

unread,
Jul 6, 2016, 5:38:18 PM7/6/16
to Jenkins Users
hi Mark,
I am actually running 2.5.2 of the git plugin - that was what I upgraded to from 2.4.4.
John


Mark Waite

unread,
Jul 7, 2016, 12:38:17 AM7/7/16
to Jenkins Users
I'm not sure I have anything else to offer.  I'm running git plugin 2.5.2 with the latest versions of those plugins in my Java 8 based docker instance of Jenkins 1.651.3, Jenkins 2.7.1-rc, and my Java 7 based instance of Jenkins 1.609.3.  Any other things that might be interesting or different about your environment?

Mark Waite
Reply all
Reply to author
Forward
0 new messages