Issue
I am seeing the following error in my logs when attempting to run a job or on startup:
SEVERE hudson.LocalPluginManager#loadBundledPlugins: Failed to extract the bundled plugin scm-api.hpi
java.io.IOException: File '/nobackup/jenkins/plugins/scm-api.jpi' cannot be written to
at org.apache.commons.io.FileUtils.openOutputStream(FileUtils.java:357)
at org.apache.commons.io.FileUtils.openOutputStream(FileUtils.java:326)
Environment
- CloudBees CI (CloudBees Core) on modern cloud platforms - Managed Master
- CloudBees CI (CloudBees Core) on modern cloud platforms - Operations Center
- CloudBees CI (CloudBees Core) on traditional platforms - Client Master
- CloudBees CI (CloudBees Core) on traditional platforms - Operations Center
- CloudBees Jenkins Enterprise - Managed Master
- CloudBees Jenkins Enterprise - Operations Center
- CloudBees Jenkins Platform - Client Master
- CloudBees Jenkins Platform - Operations Center
- CloudBees Jenkins Distribution
Resolution
This issue typically happens when an hpi
or jpi
plugin file is copied into the $JENKINS_HOME/plugins
directory with incorrect permissions. To resolve this, modify the file ownership permissions of the file(s) to match the username under which Jenkins is running.
0 Comments