I worked it out!

The system log of Jenkins showed me the hints. The problematic git client
plugin and parameter plugin were not loaded due to missing dependencies
plugins, such as git plugin and build step plugin. Reinstalling the missing
plugins fixed the problem.

It's really strange why the git plugin and so on became uninstalled. I
recall some plugins failed to be upgraded due to network issue. Anyway the
partial upgrading of plugins should not break the plugin loading.


Kane

https://vme360.com

On Sat, Oct 1, 2016 at 1:23 AM, zhu kane <[email protected]> wrote:

> I'm using official docker image(2.7.4) to launch Jenkins CI. The Jenkins
> data locates in external disk and is mounted by container. I use Jenkins in
> this way for more than a year. The original version was 1.6.x LTS, I always
> upgrade Jenkins to new LTS version bi-weekly or monthly. But after
> restarting the container today, Jenkins informs me that some job config
> data is unreadable. The error message looks like below,
>
> *CannotResolveClassException: hudson.plugins.git.GitSCM,
> CannotResolveClassException:
> com.cloudbees.jenkins.plugins.BitBucketTrigger,
> CannotResolveClassException:
> hudson.plugins.emailext.ExtendedEmailPublisher,
> CannotResolveClassException:
> hudson.plugins.parameterizedtrigger.BuildTrigger*
>
> However the git plugin(2.0.0) already is listed as installed. There was no
> luck after I manually downgraded it to 1.21.0. I also checked the jar file
> <jenkins_home>/plugins/git/WEB-INF/lib/git.jar, it's a valid jar file.
> And the GitSCM.class can be found inside it. I'm wondering why those
> classes can not be resolved.
>
> This error definitely breaks CI/CD of my project. The git and triggering
> downstream totally does not work now.
>
> Is there any way to fix it?
>
> Thanks.
>
> Kane
>
> https://vme360.com
>

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/CAM%2BCGXS2BtDn%3DFNfxBaMMxLUD13iiy40980TvG47%3DNSxkgpaCw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to