jenkinsci / jenkinsci/cloudbees-folder-plugin

[JENKINS-39673] View-related CLI commands should also work for views on folder level

Open
#623 0 comments 0 reactions 0 assignees View on GitHub
component:cloudbees-folder-plugin imported-jira-issue priority:major resolution:unresolved
Dominant language
Java
Stars
59
Forks
117
PR merge metrics
No merged PRs in 30d

Description

Jenkins supports a variety of CLI commands for view maintenance:


  • add-job-to-view

  • create-view

  • delete-view

  • get-view

  • remove-job-from-view

  • update-view

Currently, those commands cannot be used to manage views that are defined on folder level.

For users that rely on automated management of views, this is a major obstacle when introducing folders – they basically need to stop using the CLI commands and resport to custom groovy code for folder maintenance.

Therefore, it will be useful to extend the above CLI commands so they also support views that exist on folder level.

---
Originally reported by arostfx, imported from: View-related CLI commands should also work for views on folder level


  • status: Open
  • priority: Major
  • component(s): cloudbees-folder-plugin
  • resolution: Unresolved
  • votes: 1
  • watchers: 3
  • imported: 20251211-141027

Raw content of original issue

Jenkins supports a variety of CLI commands for view maintenance:


  • add-job-to-view

  • create-view

  • delete-view

  • get-view

  • remove-job-from-view

  • update-view

Currently, those commands cannot be used to manage views that are defined on folder level.

For users that rely on automated management of views, this is a major obstacle when introducing folders – they basically need to stop using the CLI commands and resport to custom groovy code for folder maintenance.

Therefore, it will be useful to extend the above CLI commands so they also support views that exist on folder level.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.