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/DeleteNodeCommand.java:85

                if (node == null) {
                    throw new IllegalArgumentException("No such node '" + node_s + "'");
                }

                node.toComputer().doDoDelete();
            } catch (Exception e) {
                if (hs.size() == 1) {
                    throw e;
                }

                final String errorMsg = node_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 node exists and you have Computer/Delete permission.
  3. Disconnect the node first if it is currently connected, then retry delete-node.

When it happens

Trigger: Raised when the delete-node CLI command fails partway (e.g. an exception while disconnecting or removing the node). 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/1ed9971333dd6d2a. Report an issue: GitHub.