Hi all,

I have written a tool to find deprecated Jenkins api used in plugins:
https://github.com/evernat/deprecated-usage-in-plugins

In short :

 * 430 plugins are using a deprecated Jenkins api
 * 18 deprecated classes, 135 deprecated methods and 12 deprecated
   fields are used in plugins
 * 29 deprecated and public Jenkins classes, 343 deprecated methods, 58
   deprecated fields are not used in the latest published plugins

You can see the details and deprecated usage for each plugin in the continuous integration thanks to Daniel:
https://ci.jenkins-ci.org/view/Infrastructure/job/infra_deprecated-usage-in-plugins/ws/target/output.html

You can also jump directly to your plugin. For example:
https://ci.jenkins-ci.org/view/Infrastructure/job/infra_deprecated-usage-in-plugins/ws/target/output.html#monitoring

In this case, hudson.model.Hudson.getInstance() is deprecated and should be replaced by jenkins.model.Jenkins.getInstance()

bye,
Emeric

--
You received this message because you are subscribed to the Google Groups "Jenkins 
Developers" 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-dev/5651E317.2090309%40free.fr.
For more options, visit https://groups.google.com/d/optout.

Reply via email to