jenkinsci/jenkins · error · AbortException
No such command %s. Available commands are above.
Error message
No such command %s. Available commands are above.
What it means
Error "No such command %s. Available commands are above. " thrown in jenkinsci/jenkins.
Source
Thrown at core/src/main/java/hudson/cli/HelpCommand.java:83
private int showAllCommands() {
Map<String, CLICommand> commands = new TreeMap<>();
for (CLICommand c : CLICommand.all())
commands.put(c.getName(), c);
for (CLICommand c : commands.values()) {
stderr.println(" " + c.getName());
stderr.println(" " + c.getShortDescription());
}
return 0;
}
private int showCommandDetails() throws Exception {
CLICommand command = CLICommand.clone(this.command);
if (command == null) {
showAllCommands();
throw new AbortException(String.format("No such command %s. Available commands are above. ", this.command));
}
command.printUsage(stderr, command.getCmdLineParser());
return 0;
}
}
View on GitHub (pinned to 2e228ff40b)
Solutions
- Check the list of available commands printed above the error and use one of them.
- Run 'help' with no arguments to list all commands your permissions allow.
- Check for typos in the command name.
When it happens
Trigger: Raised when the help CLI command is given the name of a command that does not exist. Run 'help' with no arguments to list available commands.
Common situations: See trigger scenarios.
AI-assisted analysis of jenkinsci/jenkins@2e228ff40b (2026-08-14).
Data as JSON: /api/errors/31d6e02979753c19.
Report an issue: GitHub.