我正在试图安装selenium网格插件但是当我这样做时......出现这个错误,所以请帮助我,或者如果有插件在我想知道的时候运行多个selenium的测试套件。感谢:
java.io.IOException: Failed to dynamically deploy this plugin
at hudson.model.UpdateCenter$InstallationJob._run(UpdateCenter.java:1322)
at hudson.model.UpdateCenter$DownloadJob.run(UpdateCenter.java:1121)
at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at hudson.remoting.AtmostOneThreadExecutor$Worker.run(AtmostOneThreadExecutor.java:110)
at java.lang.Thread.run(Unknown Source)
Caused by: java.nio.file.FileSystemException: C:\Users\Nicolás\.jenkins\plugins\selenium\WEB-INF\lib\classes.jar: El proceso no tiene acceso al archivo porque está siendo utilizado por otro proceso.
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:247)
at hudson.Util.deleteRecursive(Util.java:310)
at hudson.Util.deleteContentsRecursive(Util.java:212)
at hudson.Util.deleteRecursive(Util.java:301)
at hudson.Util.deleteContentsRecursive(Util.java:212)
at hudson.Util.deleteRecursive(Util.java:301)
at hudson.Util.deleteContentsRecursive(Util.java:212)
at hudson.Util.deleteRecursive(Util.java:301)
at hudson.ClassicPluginStrategy.explode(ClassicPluginStrategy.java:522)
at hudson.ClassicPluginStrategy.createPluginWrapper(ClassicPluginStrategy.java:166)
at hudson.PluginManager.dynamicLoad(PluginManager.java:448)
at hudson.model.UpdateCenter$InstallationJob._run(UpdateCenter.java:1318)
... 5 more
西班牙语中的长文件说“进程无法访问该文件,因为其他进程使用了”
答案 0 :(得分:0)
我在Google上找到了答案,我不得不将.jenkins文件夹放在硬盘的根目录中:
当我运行jenkins.war时,它会解压缩用户文件夹中的文件夹。但我将此文件夹移动到C:/创建环境变量。