docs: @RequirePOST
      public void doDoDelete( StaplerRequest req, StaplerResponse rsp ) throws IOException, ServletException, InterruptedException {
          delete();
          if (req == null || rsp == null) { // CLI
              return;
          }
          List<Ancestor> ancestors = req.getAncestors();
          ListIterator<Ancestor> it = ancestors.listIterator(ancestors.size());
          String url = getParent().getUrl(); // fallback but we ought to get to Jenkins.instance at the root
          while (it.hasPrevious()) {
              Object a = it.previous().getObject();
              if (a instanceof View) {
                  url = ((View) a).getUrl();
                  break;
              } else if (a instanceof ViewGroup && a != this) {
                  url = ((ViewGroup) a).getUrl();
                  break;
              }
          }
          rsp.sendRedirect2(req.getContextPath() + '/' + url);
      }