jenkinsci/jenkins · error · AbortException

Error occurred while performing this command, see previous s

Error message

Error occurred while performing this command, see previous stderr output.

What it means

Error "Error occurred while performing this command, see previous stderr output." thrown in jenkinsci/jenkins.

Source

Thrown at core/src/main/java/hudson/cli/DeleteViewCommand.java:96

                            group.getDisplayName(),
                            view.getViewName()));
                }

                group.deleteView(view);
            } catch (Exception e) {
                if (hs.size() == 1) {
                    throw e;
                }

                final String errorMsg = view_s + ": " + e.getMessage();
                stderr.println(errorMsg);
                errorOccurred = true;
                continue;
            }
        }

        if (errorOccurred) {
            throw new AbortException(CLI_LISTPARAM_SUMMARY_ERROR_TEXT);
        }
        return 0;
    }
}

View on GitHub (pinned to 2e228ff40b)

Solutions

  1. Check the preceding stderr output for the underlying error.
  2. Verify the view exists and you have View/Delete permission.
  3. Ensure the view is not a system-protected view such as the default 'All' view.

When it happens

Trigger: Raised when the delete-view CLI command fails partway with an exception. The root cause is printed to stderr before this summary line.

Common situations: See trigger scenarios.


AI-assisted analysis of jenkinsci/jenkins@2e228ff40b (2026-08-14). Data as JSON: /api/errors/d44fa32709e7250e. Report an issue: GitHub.