{"record":{"id":"4449bef946908554","repo":"jenkinsci/jenkins","slug":"error-occurred-see-previous-output","errorCode":null,"errorMessage":"Error occurred, see previous output.","messagePattern":"Error occurred, see previous output\\.","errorType":"exception","errorClass":"AbortException","httpStatus":null,"severity":"error","filePath":"core/src/main/java/hudson/cli/InstallPluginCommand.java","lineNumber":163,"sourceCode":"\n            if (!source.contains(\".\") && !source.contains(\":\") && !source.contains(\"/\") && !source.contains(\"\\\\\")) {\n                // looks like a short plugin name. Why did we fail to find it in the update center?\n                if (h.getUpdateCenter().getSites().isEmpty()) {\n                    stdout.println(Messages.InstallPluginCommand_NoUpdateCenterDefined());\n                } else {\n                    Set<String> candidates = new HashSet<>();\n                    for (UpdateSite s : h.getUpdateCenter().getSites()) {\n                        Data dt = s.getData();\n                        if (dt == null)\n                            stdout.println(Messages.InstallPluginCommand_NoUpdateDataRetrieved(s.getUrl()));\n                        else\n                            candidates.addAll(dt.plugins.keySet());\n                    }\n                    stdout.println(Messages.InstallPluginCommand_DidYouMean(source, EditDistance.findNearest(source, candidates)));\n                }\n            }\n\n            throw new AbortException(\"Error occurred, see previous output.\");\n        }\n\n        if (restart)\n            h.safeRestart();\n        return 0; // all success\n    }\n\n    private static File getTmpFile() throws Exception {\n        return File.createTempFile(\"download\", \".jpi.tmp\", Jenkins.get().getPluginManager().rootDir);\n    }\n\n    private static File moveToFinalLocation(File tmpFile) throws Exception {\n        String pluginName;\n        try (JarFile jf = new JarFile(tmpFile)) {\n            Manifest mf = jf.getManifest();\n            if (mf == null) {\n                throw new IllegalArgumentException(\"JAR lacks a manifest\");\n            }","sourceCodeStart":145,"sourceCodeEnd":181,"githubUrl":"https://github.com/jenkinsci/jenkins/blob/2e228ff40b14dbc8b14ffbc6edf0e4383cf744fc/core/src/main/java/hudson/cli/InstallPluginCommand.java#L145-L181","documentation":"Error \"Error occurred, see previous output.\" thrown in jenkinsci/jenkins.","triggerScenarios":"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.","commonSituations":"See trigger scenarios.","solutions":["Check the preceding output lines for the per-plugin install failures.","Verify the plugin name or URL is correct and reachable from Jenkins.","Check network connectivity and update center configuration (Manage Jenkins > Plugins > Advanced).","Retry the install; use 'install-plugin <name> -deploy' to restart after installation."],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"2e228ff40b14dbc8b14ffbc6edf0e4383cf744fc","analyzedAt":"2026-08-14T07:07:15.274Z","schemaVersion":2},"datasetVersion":"2026-08-14T10:17:34.591Z"}