• Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Minor Minor
    • core
    • None
    • jenkins-2.174

      As of Jenkins 2.53 searching for view by name works only for top level views. It can be frustrating when you use nested views especially in companion with Delivery Pipeline Plugin - nested pipelines are not searchable.

       

      Looking in the code the reason is to have the "views" field in Jenkins only references to top level views. Nested ones (ViewGroup) are ignored in getViews() and getView(name). Proposed solution adds an extra method getAllViews() (a similar convention to getItems() and getAllItems()) which returns all views recursively and enhance getView(name) to use it.

       

      Related thread on the mailing list: https://groups.google.com/forum/#!topic/jenkinsci-dev/GTjiXQkN4Fs

          [JENKINS-43322] Nested view should be also searchable by name

          Marcin Zajączkowski created issue -
          Marcin Zajączkowski made changes -
          Status Original: Open [ 1 ] New: In Progress [ 3 ]
          Baptiste Mathus made changes -
          Status Original: In Progress [ 3 ] New: In Review [ 10005 ]
          Baptiste Mathus made changes -
          Remote Link New: This issue links to "PR (Web Link)" [ 22583 ]
          Daniel Beck made changes -
          Released As New: jenkins-2.17
          Resolution New: Fixed [ 1 ]
          Status Original: In Review [ 10005 ] New: Fixed but Unreleased [ 10203 ]
          Daniel Beck made changes -
          Released As Original: jenkins-2.17 New: jenkins-2.174
          Baptiste Mathus made changes -
          Status Original: Fixed but Unreleased [ 10203 ] New: Resolved [ 5 ]

            emszpak Marcin Zajączkowski
            emszpak Marcin Zajączkowski
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: