无法让 email-ext.hpi 在 hudson 中工作

发布于 2024-09-26 10:36:55 字数 501 浏览 5 评论 0原文

我刚刚设置了 hudson 并开始使用它。

  1. 我已将 email-ext.hpi 下载到文件夹 $HUDSON_HOME\plugins
  2. 我已在第 1 步后重新启动了 hudson(我正在遵循此手动方法,因为我无法使用(由于代理设置原因)通过自动安装插件的方式 “管理 hudson”页面。
  3. 事实上,当 hudson 启动时,我没有看到 信息:启动所有插件

但是:
当我启动项目配置页面时,我没有看到承诺的选项“可编辑电子邮件通知”。

仅供参考:
1.我能够设置并运行一些基本的测试版本,并且它们运行良好。
2. 我还能够配置和接收失败和后续成功的默认 hudson 电子邮件。(这确认了 SMTP 设置) 3. 我还打算按照上面详细介绍的相同方式设置 subversion 标签 hpi,效果也很好!

我缺少什么?预先感谢您的任何帮助!

额外信息: Hudson 版本 - 1.379 在 Windows XP 上运行

I have just setup hudson and have begun playing around with it.

  1. I have downloaded the email-ext.hpi into the the folder $HUDSON_HOME\plugins
  2. I have restarted hudson post-step1 ( i am following this manual method as i am unable to use (for proxy setting reasons) the automatic way of installing plugins via the "Manage hudson" page.
  3. I dont see any errors when hudson starts. In fact i see the line
    INFO: Started all plugins

BUT:
When i start a project configuration page, I do not see the promised option "Editable Email Notification".

FYI:
1. I am able to setup and run few basic test builds and they run fine.
2. I am also able to configure and receive the default hudson emails for failures and subsequent successes.(This confirms the SMTP settings)
3. I was also aboe to setup the subversion tag hpi in the same way as detailed above and that works fine as well!

What am i missing? Thanks in advance for any help!

EXTRA INFO:
Hudson version - 1.379 running on Windows XP

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

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

发布评论

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

评论(3

浅浅淡淡 2024-10-03 10:36:55

好的 - 我找到了一个解决方法(尽管我仍然需要深入研究为什么这是一个问题)。在此为可能面临此问题的其他人记录。

该插件在复制到 $HUDSON_HOME\plugin 时不知何故并未真正被激活/识别。但是当我将其也复制到 C:\Documents and Settings\mylogin.hudson\plugins 并重新启动 hudson 服务时,瞧!它起作用了。

如果有人知道为什么会发生这种情况,请记录在这里以供参考。谢谢。

OK - i figured out a workaround (although i still need to dig into why this is a problem). Recording here for anyone else tha tmay face this issue.

The plugin when copied into the $HUDSON_HOME\plugin was somehow not really being activeated/recognized. But when i copied it over also to C:\Documents and Settings\mylogin.hudson\plugins and restarted hudson service, voila! it worked.

If anyone knows why this might have occured, kindly record it here for reference. Thanks.

绅士风度i 2024-10-03 10:36:55

要安装插件,您应该使用简单的路线。在哈德逊,转到“管理哈德逊”-> “管理器插件”-> “高级”(它是一个选项卡)并使用“上传插件”选项。

然后按照说明进行操作。通常你必须重新启动 Hudson 才能真正获取该插件。

比搞乱文件系统要省事得多。一般来说,您的方法应该是正确的,但您的 $HUDSON_HOME 似乎存在问题。看看“管理哈德逊”-> “配置系统”页面。页面顶部显示的 Hudson Home 目录是什么?不知道Hudson如果无法访问Home Directory怎么办?我的假设是 Hudson 作为服务运行,使用用户帐户而不是本地系统帐户,并且您使用不同的帐户来复制 hpi 文件。

To install a plugin you should use the easy route. In Hudson, go to 'Manage Hudson' -> 'Manager Plugins' -> 'Advanced' (its a tab) and use the 'upload plugin' option.

Than follow the instructions. Usually you have to restart Hudson to actually get the plugin.

Way saver than messing around with the file system. In general the approach you had should have been correct, but there seems to be an issue with your $HUDSON_HOME. Have a look at the "Manage Hudson" -> "Configure System" page. What is the Hudson Home directory displayed on the top of the page? I don't know what Hudson does if it can't access the Home Directory? My assumption is here that Hudson runs as a service with a user account rather than the local system account and that you used a different account to copy the hpi file.

温柔戏命师 2024-10-03 10:36:55

安装 Maven Legacy 和 Maven3 插件。

Install Maven Legacy and Maven3 plugins .

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