installation - Jenkins Pathignore 插件安装失败

标签 installation jenkins-plugins

我在 Windows 服务器上安装了 Jenkins。

我正在尝试添加依赖于 Ruby-runtime 的插件 Pathignore Plugin

当我尝试添加 Ruby-runtime 插件时,出现以下错误:

Caused by: java.nio.file.FileSystemException: C:\Program Files (x86)\Jenkins\plugins\ruby-runtime\WEB-INF\lib\classes.jar: The process cannot access the file because it is being used by another process.

最佳答案

这似乎是由一个长文件名错误引起的,我不得不将我们的 Jenkins 安装重新定位到驱动器的根目录,然后它“正常工作”

  • 停止 Jenkins 服务
  • 将 Jenkins 文件夹移动到驱动器根目录(即 C:\Program Files (x86)\JenkinsC:\Jenkins
  • 在系统注册表中编辑服务的位置 Registry location
  • 重启 Jenkins

bug report here for more information

关于installation - Jenkins Pathignore 插件安装失败,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/44403642/

相关文章:

jenkins - 尝试使用 ANSIBLE 安装 jenkins-plugin 时出现错误 "Cannot get CSRF"

jenkins - 达到阈值时如何修复不稳定的构建?

java - 在 Jenkinsfile 中使用 Publish Over SSH 时出现 NotSerializedException

python - 你如何为你的 python 程序制作安装程序?

c# - WIX:如果取消安装,请重新启动服务?

postgresql - 通过 jenkins 部署 postgres - 持续集成/部署

Jenkins:在两次作业运行之间存储变量的好方法是什么?

wix - 使用 Wix Patching 进行小幅升级

android - 防止安装具有特定包名称的 Android 应用程序

installation - 如何最好地在 WiX 中定义自定义操作?