New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
JENKINS-54439 Jcasc compatibility #97
JENKINS-54439 Jcasc compatibility #97
Conversation
@rsandell mind taking a look please? |
src/main/java/com/sonyericsson/jenkins/plugins/bfa/PluginImpl.java
Outdated
Show resolved
Hide resolved
src/main/java/com/sonyericsson/jenkins/plugins/bfa/PluginImpl.java
Outdated
Show resolved
Hide resolved
src/test/java/com/sonyericsson/jenkins/plugins/bfa/PluginImplHudsonTest.java
Outdated
Show resolved
Hide resolved
src/test/java/com/sonyericsson/jenkins/plugins/bfa/jcasc/ConfigurationAsCodeLocalTest.java
Outdated
Show resolved
Hide resolved
src/main/java/com/sonyericsson/jenkins/plugins/bfa/PluginImpl.java
Outdated
Show resolved
Hide resolved
src/test/java/com/sonyericsson/jenkins/plugins/bfa/sod/ScanOnDemandBaseActionTest.java
Outdated
Show resolved
Hide resolved
…gurationAsCodeLocalTest.java
…failure-analyzer-plugin into feature/jcasc-compatibility
Weirdly changing from a PluginImpl to a GlobalConfiguration / using the initialiser annotations seems to have some impact on classloading. Currently this branch re-introduces the deserialisation issue (albeit with a different error). Deep in the jackson code:
throws:
On master classloader is:
on this PR:
|
Looks like a classloader needs passing, https://jenkins.io/doc/developer/plugin-development/dependencies-and-class-loading/ |
It wasn't possible to deserialise mongo classes with out this change, for details see: jenkinsci#97 (comment) and https://jenkins.io/doc/developer/plugin-development/dependencies-and-class-loading/
All review comments should be fixed / answered, could you please re-review, thanks. |
I'll release all this as a beta version because I'm going on vacation today and will be gone a month. If people are happy then I can release it as a full version. But I don't think I would dare to release it as a full version now when I will not be available to review and release any bugfixes that might arise. |
Migrates from a "Plugin" to a Descriptor
Removes custom databinding in configure
Updates jelly to use data binding
Update parent pom
Remove findbugs config, it's now in parent pom, (using spotbugs instead)
Upgrades checkstyle to allow using lamdas