Git 在 Hudson 中开箱即用; Jenkins 连插件都安装不了

发布于 2024-12-08 10:12:40 字数 490 浏览 7 评论 0原文

因此,在阅读了关于为什么我应该使用 Jenkins 而不是 Hudson 的多个问答后,我继续进行了转换……现在我很后悔。有了 Hudson(或者至少是我用来安装 Hudson 的 Debian 软件包),Git 就“开箱即用”了;我不需要安装任何插件或任何东西。

然而,对于 Jenkins,我不仅需要一个单独的插件,而且当我尝试安装该插件时,它会反复失败。我可以在可用插件列表中找到该插件,检查它,并收到“成功”消息,但在我重新启动 Hudson 后,该插件不存在(并且它再次出现在可用插件上) ins 列表)。

问题可能是插件描述下的警告消息:

警告:此插件是为 Jenkins 2.1.0 或更高版本构建的。它可能或 可能无法在您的 Jenkins 中工作。

...除了没有 Jenkins 2.1.0(甚至没有 2.anything),至少我能找到。

还有其他人遇到过这个问题吗?如果是的话,您有什么解决方法吗?

So after reading multiple Q&As here about why I should use Jenkins over Hudson, I went ahead and made the switch ... and now I'm regretting it. With Hudson (or at least with the Debian package I used to install Hudson), Git came "out of the box"; I didn't have to install any plug-ins or anything.

With Jenkins however, not only do I need a separate plug-in, but when I try to install that plug-in, it fails, repeatedly. I can find the plug-in in the list of available plug-ins, check it, and get a "success" message, but after I restart Hudson the plug-in isn't there (and it's once again on the available plug-ins list).

The problem might be the warning message under the plug-in's description:

Warning: This plugin is built for Jenkins 2.1.0 or newer. It may or
may not work in your Jenkins.

... except there is no 2.1.0 of Jenkins (or even a 2.anything), at least that I can find.

Has anyone else run in to this, and if so do you have any kind of workaround?

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

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

发布评论

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

评论(1

情深已缘浅 2024-12-15 10:12:40

我最终清除了 hudson/jenkins,然后重新安装了 jenkins 软件包;这时候git插件安装成功了!

I wound up purging hudson/jenkins, then re-installing the jenkins package; this time the git plug-in installed successfully!

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