jenkinsci/jenkins · error · AbortException

Error occurred, see previous output.

Error message

Error occurred, see previous output.

What it means

Error "Error occurred, see previous output." thrown in jenkinsci/jenkins.

Source

Thrown at core/src/main/java/hudson/cli/InstallPluginCommand.java:163

            if (!source.contains(".") && !source.contains(":") && !source.contains("/") && !source.contains("\\")) {
                // looks like a short plugin name. Why did we fail to find it in the update center?
                if (h.getUpdateCenter().getSites().isEmpty()) {
                    stdout.println(Messages.InstallPluginCommand_NoUpdateCenterDefined());
                } else {
                    Set<String> candidates = new HashSet<>();
                    for (UpdateSite s : h.getUpdateCenter().getSites()) {
                        Data dt = s.getData();
                        if (dt == null)
                            stdout.println(Messages.InstallPluginCommand_NoUpdateDataRetrieved(s.getUrl()));
                        else
                            candidates.addAll(dt.plugins.keySet());
                    }
                    stdout.println(Messages.InstallPluginCommand_DidYouMean(source, EditDistance.findNearest(source, candidates)));
                }
            }

            throw new AbortException("Error occurred, see previous output.");
        }

        if (restart)
            h.safeRestart();
        return 0; // all success
    }

    private static File getTmpFile() throws Exception {
        return File.createTempFile("download", ".jpi.tmp", Jenkins.get().getPluginManager().rootDir);
    }

    private static File moveToFinalLocation(File tmpFile) throws Exception {
        String pluginName;
        try (JarFile jf = new JarFile(tmpFile)) {
            Manifest mf = jf.getManifest();
            if (mf == null) {
                throw new IllegalArgumentException("JAR lacks a manifest");
            }

View on GitHub (pinned to 2e228ff40b)

Solutions

  1. Check the preceding output lines for the per-plugin install failures.
  2. Verify the plugin name or URL is correct and reachable from Jenkins.
  3. Check network connectivity and update center configuration (Manage Jenkins > Plugins > Advanced).
  4. Retry the install; use 'install-plugin <name> -deploy' to restart after installation.

When it happens

Trigger: Raised when the install-plugin CLI command fails while downloading or deploying one or more plugins. The underlying cause is printed earlier in the output.

Common situations: See trigger scenarios.


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