get_view
Retrieve a Jenkins view's jobs and nested sub-views by specifying its path. Use '/' for multi-level navigation.
Instructions
Get a Jenkins view by path, returning its jobs and/or nested sub-views.
Views can be nested up to multiple levels deep. Use "/" to separate levels in the path. If the view contains sub-views instead of jobs, the response will include their names so you can drill down further.
Args: view_path: View path using "/" to separate levels. Examples: "All", "frontend", "frontend/nightly". Spaces and special characters in view names are handled automatically. depth: Depth of detail to retrieve for each job. Default is 0.
Returns: A dict with the view's name, jobs list, and/or nested views.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| view_path | Yes | ||
| depth | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||