Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-41507

"Plugin usage" plugin does not report on Maven projects

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • plugin-usage-plugin
    • None
    • Jenkins 1.609.3
      plugin-usage-plugin 0.3

      The usage information shown excludes all Maven projects:
      in plugin-usage-plugin/src/main/java/org/jenkinsci/plugins/pluginusage/analyzer/JobCollector.java informations collected with

      List<Project> allItems = Jenkins.getInstance().getAllItems(Project.class);

      But a "Maven project" is not (in the Java class hierarchy of Jenkins) a hudson.model.Project. It's a hudson.model.AbstractProject, though.

            Unassigned Unassigned
            rschupp Roderich Schupp
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: