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

Does not work with recursive views that include jobs within folders

    Details

    • Similar Issues:

      Description

      The change in Jenkins 1.512 which adds support for views containing items child items from within folders is incompatible with the current way the plugin works.

      Steps to reproduce:

      1. Install folders plugin
      2. Create two jobs at root: A & B
      3. Create three folders at root: C, D & E
      4. In each of the folders create two jobs: C/F, C/G, D/H, D/I, E/J, E/K
      5. Mark the following jobs as favorite: A, C/F and the folder D.
      6. Create a view with the `Recurse in subfolders` option selected and a regex of `.*` and the Favorites Filter

      Expected results:

      The view should contain the following items only: A, C/F and D

      Actual results:

      The view contains:

      A
      C/F
      C/G
      D
      D/H
      D/I
      E/J
      E/K

        Attachments

          Activity

          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: Stephen Connolly
          Path:
          src/main/java/hudson/plugins/favorite/filter/FavoriteFilter.java
          http://jenkins-ci.org/commit/favorite-plugin/6376257036aa2a863423680ff04ee9e142fc5748
          Log:
          [FIXED JENKINS-18604] Simpler to just add the ones that are favorite

          • Simplifies the code and fixes the bug: double win!!!
          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Stephen Connolly Path: src/main/java/hudson/plugins/favorite/filter/FavoriteFilter.java http://jenkins-ci.org/commit/favorite-plugin/6376257036aa2a863423680ff04ee9e142fc5748 Log: [FIXED JENKINS-18604] Simpler to just add the ones that are favorite Simplifies the code and fixes the bug: double win!!!

            People

            • Assignee:
              lshatzer Larry Shatzer, Jr.
              Reporter:
              stephenconnolly Stephen Connolly
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: