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%2BCGXQRjBUyHZ0sGtBkdSABWw7Se%3DqHDNdXbvaQxMpJnxTVhQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to