robsimon created JENKINS-12947:
----------------------------------
Summary: update of Perforce plugin fails with IOException
Key: JENKINS-12947
URL: https://issues.jenkins-ci.org/browse/JENKINS-12947
Project: Jenkins
Issue Type: Bug
Components: perforce, update-center
Affects Versions: current
Environment: Windows 7 64 SP1, JDK 1.6_29_x64, Jenkins 1.451
Reporter: robsimon
Try to updated an installed plugin without restarting Jenkins. In my case
Perforce threw the following exception (SubVersion behaved similar):
hudson.util.IOException2: Failed to dynamically deploy this plugin
at
hudson.model.UpdateCenter$InstallationJob._run(UpdateCenter.java:1137)
at hudson.model.UpdateCenter$DownloadJob.run(UpdateCenter.java:955)
at
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:662)
Caused by: java.io.IOException: Unable to delete
C:\Jenkins\plugins\perforce\WEB-INF\lib\commons-codec-1.4.jar
at hudson.Util.deleteFile(Util.java:237)
at hudson.Util.deleteRecursive(Util.java:287)
at hudson.Util.deleteContentsRecursive(Util.java:198)
at hudson.Util.deleteRecursive(Util.java:278)
at hudson.Util.deleteContentsRecursive(Util.java:198)
at hudson.Util.deleteRecursive(Util.java:278)
at hudson.Util.deleteContentsRecursive(Util.java:198)
at hudson.ClassicPluginStrategy.explode(ClassicPluginStrategy.java:389)
at
hudson.ClassicPluginStrategy.createPluginWrapper(ClassicPluginStrategy.java:113)
at hudson.PluginManager.dynamicLoad(PluginManager.java:340)
at
hudson.model.UpdateCenter$InstallationJob._run(UpdateCenter.java:1133)
... 7 more
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.jenkins-ci.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira