Git 在 Hudson 中开箱即用; Jenkins 连插件都安装不了
因此,在阅读了关于为什么我应该使用 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 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我最终清除了 hudson/jenkins,然后重新安装了 jenkins 软件包;这时候git插件安装成功了!
I wound up purging hudson/jenkins, then re-installing the jenkins package; this time the git plug-in installed successfully!