Details
-
Improvement
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Fixed
-
None
Description
Having several logical levels, I use the NestedView plugin (which is great !).
The weather icon displayed for a nested view is the average health of jobs contained in this view.
But if there is no Job, it is 100%. (Seen in the code of the plugin)
It's annoying in my case because I have NestedViews which contains only NestedViews.
MyNestedView1
> MyNestedView2
> Job1
> Job2
> MyNestedView3
> MyNestedView4
Would it be possible to use heath-report of NestedViews 2,3,4 to compute the health-report of NestedView 1 ?
Code changed in hudson
User: : mindless
Path:
trunk/hudson/plugins/nested-view/src/main/java/hudson/plugins/nested_view/NestedView.java
http://jenkins-ci.org/commit/36099
Log:
[FIXED JENKINS-7125] when calculating view-health, check if the view is a NestedView..
if so, recurse into its subviews to calculate total health.
(previously always showed 100% as a NestedView has no jobs itself..)