How to delete a view named ".."

Jeff Fairley picture Jeff Fairley · Jan 21, 2013 · Viewed 16.4k times · Source

I created a new view in Cloudbees and, while configuring it, wanted it to remain somewhat unnoticed by the rest of my team. I renamed the view to "..", just because it was the first thing that came to mind.

Now I can't delete the group, because the use of ".." is interpreted as directory traversal.

  • I cannot navigate to the view by clicking the tab, since "https://{account}.ci.cloudbees.com/view/../" is the "https://{account}.ci.cloudbees.com/".
    • I can navigate to this view, but only by setting this as the default view inside "Manage Jenkins".
  • By the same URL pattern issues, I also cannot write a URL appropriate for deleting this view.

Answer

Jitesh Sojitra picture Jitesh Sojitra · Sep 20, 2016

Please specify Jenkins server, port and view name in below way to delete custom view which you created it:

http://<jenkins-server>:<port>/view/<view name>/delete

Jenkins is buggy in this particular functionality.