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/DisconnectNodeCommand.java:97
throw new IllegalArgumentException(adv == null ?
hudson.model.Messages.Computer_NoSuchSlaveExistsWithoutAdvice(node_s) :
hudson.model.Messages.Computer_NoSuchSlaveExists(node_s, adv));
}
computer.cliDisconnect(cause);
} catch (Exception e) {
if (hs.size() == 1) {
throw e;
}
stderr.println(node_s + ": " + e.getMessage());
errorOccurred = true;
continue;
}
}
if (errorOccurred) {
throw new AbortException(CLI_LISTPARAM_SUMMARY_ERROR_TEXT);
}
return 0;
}
}
View on GitHub (pinned to 2e228ff40b)
Solutions
- Check the preceding stderr output for the underlying error.
- Verify the agent exists and you have Computer/Disconnect permission.
- Confirm the agent is currently connected before disconnecting it.
When it happens
Trigger: Raised when the disconnect-node CLI command fails partway with an exception while disconnecting the agent. 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/f6c2b10ef891ae1e.
Report an issue: GitHub.