-
Bug
-
Resolution: Unresolved
-
Minor
Example from failing ATH test:
checkstyle plugin has optional dependency on dashboard view plugin. In this case are both plugin required in the same time from UI. According to right order of dependency, jenkins should install dashboard view first (since checkstyle is dependent on it). In case that dashboard is installed before checkstyle, extensions points in checkstyle plugin which are optional is not loaded and checkstyle dashboard view portlets are not available.
Everything is loaded properly when Jenkins is restarted.
I believe this can be fixed by including optional dependencies into process which determine installation order for plugins.
There several tests in ATH which fail because of it:
plugins.CheckStylePluginTest.should_show_warnings_in_folder
plugins.CheckStylePluginTest.should_show_warning_totals_in_dashboard_portlet_with_link_to_results
plugins.AnalysisCollectorPluginTest.should_aggregate_warnings_in_dashboard_portlet
plugins.AnalysisCollectorPluginTest.should_show_warnings_in_folder
plugins.AnalysisCollectorPluginTest.should_show_warning_totals_in_dashboard_portlet_with_link_to_result
plugins.AnalysisCollectorPluginTest.should_open_links_in_folder_dashboard_and_nested_views
It is not so easy to catch it because other plugins or other dependencies can influence order. But in with these plugins alone and jenkins-2.89.3, it is easy to reproduce:
dashboard-view 2.9.11
analysis-core 1.93
checkstyle 3.49
I load screen shot of ath tests for documentation.
- is duplicated by
-
JENKINS-57681 Setup wizard does not take into account optional dependencies when ordering plugin installations
- Open
- is related to
-
JENKINS-14392 Optional Extensions should be reloaded when dependencies are dynamically loaded
- Open
-
JENKINS-39504 PmdPluginTest might fail due to plugins installation order
- Closed
- relates to
-
JENKINS-50336 Optional extensions are not picked up after installing the optional dependency
- Resolved