-
Improvement
-
Resolution: Fixed
-
Minor
-
None
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
- links to