无法在 Windows 上安装 jenkins (AKA hudson) 从站
我已按照说明操作: 首先,您需要在安装之前启动 Jenkins。(我通过运行“java -jar jenkins.war”在服务器本身上从命令行执行此操作。)
现在通过访问以下 URL http://:8080 连接到 Jenkins / 以这种方式启动 Jenkins 后,在“管理 Jenkins”页面中查找“安装为 Windows 服务”链接(需要 .net 框架版本 >= 2.0): 我在管理詹金斯页面中没有任何安装为 Windows 服务链接。 有人吗? 请?
i have followed the instructions:
first, you need to start Jenkins before installing it.(i did that on the server itself from command line by running "java -jar jenkins.war".)
Now connect to Jenkins by going to the following URL http://:8080/
Once Jenkins is started this way, look for the "Install as Windows Service" link in the "Manage Jenkins" page (requires .net framework version >= 2.0):
i don't have any install as windows service link in the manage jenkins page.
anyone?
please?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
为什么不使用 Tomcat 来托管您的 jenkins 实例? Tomcat 作为 Windows 服务运行良好。
Why not use Tomcat to host your jenkins instance? Tomcat runs fine as a windows service.
如果您使用的是最新的 Windows 安装程序,它会自动进行服务设置。仔细检查 services.msc。
If you're using the latest windows installer, it does the service setup automatically. Double check services.msc.
在“Hudson”中,自从一年多前提交以来,该选项已从 JLNP 文件中禁用。
请参阅提交:
https://eclipse.googlesource.com/ hudson/org.eclipse.hudson.core/+/c326860072d4c339c6eae34826132b2150753f1a%5E%21/
根据提交消息,Slave Agent 的服务安装已损坏,因此已被禁用。 (免责声明:我还没有测试这对我来说是否属实)。
这可能不适用于原始问题,因为该问题早于提交日期,但它很可能适用于像我这样当前面临该问题的任何其他人。
劳尔
In "Hudson", since a commit over a year ago,that option is disabled from the JLNP file.
See commit:
https://eclipse.googlesource.com/hudson/org.eclipse.hudson.core/+/c326860072d4c339c6eae34826132b2150753f1a%5E%21/
According to the commit message, service installation of the Slave Agent is broken, and hence it has been disabled. (disclaimer: I have not tested if this is true for me or not yet).
This probably doesn't apply to the original question, as the question pre-dates the commit, but it may well apply to any other people who like myself are facing the issue currently.
Raul