Branch: refs/heads/master Home: https://github.com/jenkinsci/plugin-usage-plugin Commit: dbb4664a1cd75e0595acfe73b9776e315b24fb12 https://github.com/jenkinsci/plugin-usage-plugin/commit/dbb4664a1cd75e0595acfe73b9776e315b24fb12 Author: Steve Hill <sghill....@gmail.com> Date: 2020-12-16 (Wed, 16 Dec 2020)
Changed paths: M src/main/java/org/jenkinsci/plugins/pluginusage/JobsPerPlugin.java M src/main/java/org/jenkinsci/plugins/pluginusage/PluginUsageModel.java M src/main/java/org/jenkinsci/plugins/pluginusage/PluginUsageView.java Log Message: ----------- Add api support to PluginUsageView Allow the exported data in PluginUsageModel and JobsPerPlugin to be served over the json/xml api. Commit: d329d22a1406053434299f53eec18310065fe211 https://github.com/jenkinsci/plugin-usage-plugin/commit/d329d22a1406053434299f53eec18310065fe211 Author: Steve Hill <sghill....@gmail.com> Date: 2021-01-29 (Fri, 29 Jan 2021) Changed paths: M pom.xml A src/test/java/org/jenkinsci/plugins/pluginusage/PluginUsageViewApiTest.java A src/test/java/org/jenkinsci/plugins/pluginusage/api/Plugin.java A src/test/java/org/jenkinsci/plugins/pluginusage/api/PluginProjects.java A src/test/java/org/jenkinsci/plugins/pluginusage/api/PluginUsage.java A src/test/java/org/jenkinsci/plugins/pluginusage/api/Project.java A src/test/resources/plugins/ant-1.9.hpi A src/test/resources/plugins/structs-1.17.hpi A src/test/resources/with-ant.xml Log Message: ----------- Add PluginUsageViewApiTest This test ensures the ant plugin and its transitives are installed before running. The job is created through XML and the api response is deserialized into classes that mirror the expected structure of the response. A change in model structure would cause this test to fail. It's important to create the job through XML instead of creating a project through the JenkinsRule with an Ant builder. If the ant plugin's classes are used directly, the plugin manager detects `hudson.tasks.Ant` was loaded through the test's class loader instead of the plugin's class loader - which results in the plugin under test not finding the ant plugin. These versions of ant and structs were chosen because they're the most recent that are compatible with the version of Jenkins core. Commit: 39183717d992453e44e06d65e5633985e5e35df4 https://github.com/jenkinsci/plugin-usage-plugin/commit/39183717d992453e44e06d65e5633985e5e35df4 Author: Filipe Roque <fro...@premium-minds.com> Date: 2021-02-16 (Tue, 16 Feb 2021) Changed paths: M pom.xml M src/main/java/org/jenkinsci/plugins/pluginusage/JobsPerPlugin.java M src/main/java/org/jenkinsci/plugins/pluginusage/PluginUsageModel.java M src/main/java/org/jenkinsci/plugins/pluginusage/PluginUsageView.java A src/test/java/org/jenkinsci/plugins/pluginusage/PluginUsageViewApiTest.java A src/test/java/org/jenkinsci/plugins/pluginusage/api/Plugin.java A src/test/java/org/jenkinsci/plugins/pluginusage/api/PluginProjects.java A src/test/java/org/jenkinsci/plugins/pluginusage/api/PluginUsage.java A src/test/java/org/jenkinsci/plugins/pluginusage/api/Project.java A src/test/resources/plugins/ant-1.9.hpi A src/test/resources/plugins/structs-1.17.hpi A src/test/resources/with-ant.xml Log Message: ----------- Merge pull request #18 from sghill/add-api Add api support to PluginUsageView Compare: https://github.com/jenkinsci/plugin-usage-plugin/compare/d028ada41abd...39183717d992 -- You received this message because you are subscribed to the Google Groups "Jenkins Commits" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-commits+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-commits/jenkinsci/plugin-usage-plugin/push/refs/heads/master/d028ad-391837%40github.com.