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

Health report created for NestedView is 100% if there is no nested-jobs

    XMLWordPrintable

    Details

    • Similar Issues:

      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 ?

        Attachments

          Activity

          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          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..)

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - 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..)
          Hide
          ebann ebann added a comment -

          Works fine.

          Thx!

          Show
          ebann ebann added a comment - Works fine. Thx!

            People

            • Assignee:
              mindless Alan Harder
              Reporter:
              ebann ebann
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: