jenkinsci/jenkins · error · IllegalArgumentException

No plugin with the name '{name}' found

Error message

No plugin with the name '{name}' found

What it means

Error "No plugin with the name '{name}' found" thrown in jenkinsci/jenkins.

Source

Thrown at core/src/main/java/hudson/cli/ListPluginsCommand.java:64

    @Argument(metaVar = "NAME", usage = "Name of a specific plugin", required = false)
    public String name;

    @Override
    protected int run() {
        Jenkins h = Jenkins.get();
        h.checkPermission(Jenkins.ADMINISTER);

        PluginManager pluginManager = h.getPluginManager();

        if (this.name != null) {
            PluginWrapper plugin = pluginManager.getPlugin(this.name);

            if (plugin != null) {
                printPlugin(plugin, plugin.getShortName().length(), plugin.getDisplayName().length());
            }
            else {
                throw new IllegalArgumentException("No plugin with the name '" + name + "' found");
            }
        }
        else {
            int colWidthShortName = 1;
            int colWidthDisplayName = 1;
            List<PluginWrapper> plugins = pluginManager.getPlugins();

            if (plugins != null) {
                for (PluginWrapper plugin : plugins) {
                    colWidthShortName = Math.max(colWidthShortName, plugin.getShortName().length());
                    colWidthDisplayName = Math.max(colWidthDisplayName, plugin.getDisplayName().length());
                }

                for (PluginWrapper plugin : plugins) {
                    printPlugin(plugin, colWidthShortName, colWidthDisplayName);
                }
            }
        }

View on GitHub (pinned to 2e228ff40b)

Solutions

  1. Run 'list-plugins' without arguments to see installed plugin short names.
  2. Use the plugin's short name, not its display name.
  3. Install the plugin with install-plugin if it is not yet installed.

When it happens

Trigger: Raised when the list-plugins CLI command is given a plugin name filter that matches no installed plugin.

Common situations: See trigger scenarios.


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