jenkins安装gitlab hook插件失败?

发布于 2022-09-06 12:08:18 字数 3326 浏览 17 评论 0

报错信息如下:

ruby-runtime    
 Failure -
java.nio.file.FileSystemException: D:\Program Files (x86)\Jenkins\plugins\ruby-runtime\WEB-INF\lib\classes.jar: 另一个程序正在使用此文件,进程无法访问。

    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.deleteIfExists(Unknown Source)
    at java.nio.file.Files.deleteIfExists(Unknown Source)
    at hudson.Util.tryOnceDeleteFile(Util.java:290)
    at hudson.Util.tryOnceDeleteRecursive(Util.java:370)
    at hudson.Util.tryOnceDeleteContentsRecursive(Util.java:389)
    at hudson.Util.tryOnceDeleteRecursive(Util.java:369)
    at hudson.Util.tryOnceDeleteContentsRecursive(Util.java:389)
    at hudson.Util.tryOnceDeleteRecursive(Util.java:369)
    at hudson.Util.tryOnceDeleteContentsRecursive(Util.java:389)
    at hudson.Util.tryOnceDeleteRecursive(Util.java:369)
    at hudson.Util.deleteRecursive(Util.java:347)
Caused: java.io.IOException: Unable to delete 'D:\Program Files (x86)\Jenkins\plugins\ruby-runtime'. Tried 3 times (of a maximum of 3) waiting 0.1 秒 between attempts.
    at hudson.Util.deleteRecursive(Util.java:352)
    at hudson.ClassicPluginStrategy.explode(ClassicPluginStrategy.java:611)
    at hudson.ClassicPluginStrategy.createPluginWrapper(ClassicPluginStrategy.java:170)
    at hudson.PluginManager.dynamicLoad(PluginManager.java:849)
    at hudson.PluginManager.dynamicLoad(PluginManager.java:814)
    at hudson.model.UpdateCenter$InstallationJob._run(UpdateCenter.java:1889)
Caused: java.io.IOException: Failed to dynamically deploy this plugin
    at hudson.model.UpdateCenter$InstallationJob._run(UpdateCenter.java:1893)
    at hudson.model.UpdateCenter$DownloadJob.run(UpdateCenter.java:1651)
    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)
Gitlab Hook Plugin    
 Failure -
java.io.IOException: Gitlab Hook Plugin v1.4.2 failed to load.
 - ruby-runtime v0.12 is missing. To fix, install v0.12 or later.
    at hudson.PluginWrapper.resolvePluginDependencies(PluginWrapper.java:626)
    at hudson.PluginManager.dynamicLoad(PluginManager.java:865)
Caused: java.io.IOException: Failed to install gitlab-hook plugin
    at hudson.PluginManager.dynamicLoad(PluginManager.java:875)
    at hudson.PluginManager.dynamicLoad(PluginManager.java:814)
    at hudson.model.UpdateCenter$InstallationJob._run(UpdateCenter.java:1889)
Caused: java.io.IOException: Failed to dynamically deploy this plugin
    at hudson.model.UpdateCenter$InstallationJob._run(UpdateCenter.java:1893)
    at hudson.model.UpdateCenter$DownloadJob.run(UpdateCenter.java:1651)
    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)

尝试手动下载安装失败。百度也找不到同类问题?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

天涯沦落人 2022-09-13 12:08:18

https://stackoverflow.com/que...

看样子必须在C盘根目录下才行.

挽你眉间 2022-09-13 12:08:18

安装目录不能有空格

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文