-
Bug
-
Resolution: Unresolved
-
Minor
-
None
-
Jenkins 2.263.4
Running on Linux, no container
Using (openJDK) JDK11
Using (up to date) "Nested View Plugin" 1.19
I would like to copy an existing view (which is a nested view).
I can do this:
- >alias jenkinsSSH='ssh foo42 -p 4242'
- this needs to match the actual hostname/ssh port and assumes login by public key from the used account.
- Create the type of view, you want to copy there. at the planned position in Jekins GUI with the intended name
(This seems easier, than doing it by script...) - Copy the xml for an existing view, to the newly generated one.
E.g.
> jenkinsSSH get-view "21A_0.1mMP-Prom" | jenkinsSSH update-view "PHY_FB/FOOBAR"
Note: No ...view/PHY_FB/view/FOOBAR" ! (as seen in the URL)
But doing it directly fails:
> jenkinsSSH get-view "21A_0.1mMP-Prom" | jenkinsSSH create-view "PHY_FB/FOOBAR2"
ERROR: Invalid view name: ‘/’ is an unsafe character
I would like to see "create-view" accept nested views, like 'update-view' does.