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

Filtering build queue/executors does not work in nested view

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      The checkboxes "Filter build queue" and "Filter build executors" do not really make sense at the moment in a nested view. As a nested view contains no jobs at all, the checkboxes simply completely remove the build queue/executor list.

      Suggestions:

      • Remove the checkboxes from the "Edit View" page for nested views
      • Or make them work by recursively looking for the jobs inside the nested view

        Attachments

          Issue Links

            Activity

            Hide
            yoichi Yoichi Nakayama added a comment -

            There is another problem on filtering.

            Show
            yoichi Yoichi Nakayama added a comment - There is another problem on filtering.
            Hide
            yoichi Yoichi Nakayama added a comment -

            At first, I've tried to solve this by the change of NestedView class:
            https://github.com/jenkinsci/nested-view-plugin/pull/16
            But the approach requires duplicate code and increase maintenance cost of the Nested View plugin.
            I noticed that it is better to extend the filter logic defined in View class to respect ViewGroup.

            Show
            yoichi Yoichi Nakayama added a comment - At first, I've tried to solve this by the change of NestedView class: https://github.com/jenkinsci/nested-view-plugin/pull/16 But the approach requires duplicate code and increase maintenance cost of the Nested View plugin. I noticed that it is better to extend the filter logic defined in View class to respect ViewGroup.
            Hide
            yoichi Yoichi Nakayama added a comment -

            I've sent a pull request
            https://github.com/jenkinsci/jenkins/pull/1030
            It also fixes similar problem with Folder under ListView

            Show
            yoichi Yoichi Nakayama added a comment - I've sent a pull request https://github.com/jenkinsci/jenkins/pull/1030 It also fixes similar problem with Folder under ListView
            Hide
            jglick Jesse Glick added a comment -

            After fixing JENKINS-20500 I see no problems with folders.

            Show
            jglick Jesse Glick added a comment - After fixing JENKINS-20500 I see no problems with folders.

              People

              • Assignee:
                yoichi Yoichi Nakayama
                Reporter:
                marc_guenther Marc G√ľnther
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated: