windows - 如何在 Windows 上更改 Jenkins 默认文件夹?

标签 windows continuous-integration jenkins hudson

如何在 Jenkins 作为 Windows 服务运行的 Windows 上更改 Jenkins 默认文件夹。 由于 C: 分区 (每个构建占用约 10MB 的可用空间)。我不想将 Jenkins 重新安装为 Windows 服务。我只想更改现有 Jenkins 实例的文件夹。如果缺少全局解决方案,我只能专注于重新定位 jobs 文件夹。

预先感谢您的帮助。

最佳答案

  • 停止 Jenkins 服务
  • C:\Users\Coola\.jenkins 文件夹移动到 d:\Jenkins
  • 使用 regedit,将 HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Jenkins\ImagePath 更改为 "d:\Jenkins\jenkins.exe"
  • 开始服务

关于windows - 如何在 Windows 上更改 Jenkins 默认文件夹?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/12689139/

相关文章:

Python 多处理在 linux 中有效,但在 windows 中无效

c# - 如何从驱动器全名获取驱动器号

Python 窗口激活

apache - 使用 Jenkins 或 Phing 重新启动 apache

mysql - rails : preventing bad/conflicting database migrations

jenkins - 并行任务日志困惑

c++ - 如何从类似函数调用具有可变数量参数的函数?

android - circleci # Unable to parse YAML # mapping values are not allowed here

git - 每次在 github org 上创建存储库时如何触发 jenkins?

ios - 开始。致命的 : Log statements out of sync: current test suite 'TestTarget.xctest' not exists