Hi,
I have a plugin that uses BouncyCastle and the issue is that every time i
try to update it by uploading a new version i get the following error:
java.io.IOException: Failed to dynamically deploy this plugin
at
hudson.model.UpdateCenter$InstallationJob._run(UpdateCenter.java:1304)
at hudson.model.UpdateCenter$DownloadJob.run(UpdateCenter.java:1103)
at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at
hudson.remoting.AtmostOneThreadExecutor$Worker.run(AtmostOneThreadExecutor.java:104)
at java.lang.Thread.run(Unknown Source)
Caused by: java.nio.file.FileSystemException: C:\Program Files
(x86)\Jenkins\plugins\my-builder\WEB-INF\lib\bcpkix-jdk15on-1.50.jar: The
process cannot access the file because it is being used by another process.
at sun.nio.fs.WindowsException.translateToIOException(Unknown Source)
at sun.nio.fs.WindowsException.rethrowAsIOException(Unknown Source)
at sun.nio.fs.WindowsException.rethrowAsIOException(Unknown Source)
at sun.nio.fs.WindowsFileSystemProvider.implDelete(Unknown Source)
at sun.nio.fs.AbstractFileSystemProvider.delete(Unknown Source)
at java.nio.file.Files.delete(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at hudson.Util.deleteFile(Util.java:238)
at hudson.Util.deleteRecursive(Util.java:301)
at hudson.Util.deleteContentsRecursive(Util.java:203)
at hudson.Util.deleteRecursive(Util.java:292)
at hudson.Util.deleteContentsRecursive(Util.java:203)
at hudson.Util.deleteRecursive(Util.java:292)
at hudson.Util.deleteContentsRecursive(Util.java:203)
at hudson.Util.deleteRecursive(Util.java:292)
at hudson.ClassicPluginStrategy.explode(ClassicPluginStrategy.java:423)
at
hudson.ClassicPluginStrategy.createPluginWrapper(ClassicPluginStrategy.java:128)
at hudson.PluginManager.dynamicLoad(PluginManager.java:412)
at
hudson.model.UpdateCenter$InstallationJob._run(UpdateCenter.java:1300)
... 6 more
Any idea what's going on and what can I do so my plugin would be able to be
updated?
--
You received this message because you are subscribed to the Google Groups
"Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.